将暂态文件路径:换成-
This commit is contained in:
@@ -378,7 +378,7 @@ public class PortableOfflLogServiceImpl extends ServiceImpl<PortableOfflLogMappe
|
||||
for (Response res : cfgResponse) {
|
||||
String cfg = res.getFilename();
|
||||
String dat = cfg.substring(0,cfg.lastIndexOf("."))+OfflineConstant.DAT;
|
||||
String sharPath = OfflineConstant.COMTRADE+"/"+csEquipmentDeliveryDTO.getMac()+"/";
|
||||
String sharPath = OfflineConstant.COMTRADE+"/"+csEquipmentDeliveryDTO.getMac().replace(":", "-")+"/";
|
||||
TagComtradeCfg sing = (TagComtradeCfg) res.getObj();
|
||||
//如果匹配上则需要将当前cfg文件及对应的dat文件上传到comtrade文件夹中
|
||||
if (sing!= null && sing.getTimeStart()!= null && sing.getTimeTrigger().compareTo(csEventPO.getStartTime())<=0
|
||||
|
||||
Reference in New Issue
Block a user