|
|
@ -272,6 +272,23 @@ public class DmsBillsFaultInstanceServiceImpl implements IDmsBillsFaultInstanceS
|
|
|
|
queryInstanceFile1.setTargetId(activity.getInstanceActivityId());
|
|
|
|
queryInstanceFile1.setTargetId(activity.getInstanceActivityId());
|
|
|
|
queryInstanceFile1.setTargetType("2");
|
|
|
|
queryInstanceFile1.setTargetType("2");
|
|
|
|
List<DmsInstanceFile> dmsInstanceFiles1 = dmsInstanceFileMapper.selectDmsInstanceFileList(queryInstanceFile1);
|
|
|
|
List<DmsInstanceFile> dmsInstanceFiles1 = dmsInstanceFileMapper.selectDmsInstanceFileList(queryInstanceFile1);
|
|
|
|
|
|
|
|
dmsInstanceFiles1.forEach(dif ->{
|
|
|
|
|
|
|
|
String filePath = dif.getFilePath();
|
|
|
|
|
|
|
|
log.info("filePath1:"+filePath);
|
|
|
|
|
|
|
|
if(!filePath.contains("7309")){
|
|
|
|
|
|
|
|
if(filePath.contains("https")){
|
|
|
|
|
|
|
|
filePath.replaceFirst("https","http");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
int index= filePath.indexOf("/statics");
|
|
|
|
|
|
|
|
filePath = "http://172.16.12.100:7309"+filePath.substring(index);
|
|
|
|
|
|
|
|
log.info("filePath2:"+filePath);
|
|
|
|
|
|
|
|
dif.setUrl(filePath);
|
|
|
|
|
|
|
|
dif.setFilePath(filePath);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
dif.setUrl(dif.getFilePath());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
dmsBillsFaultInstance.setDmsInstanceFiles1(dmsInstanceFiles1);
|
|
|
|
dmsBillsFaultInstance.setDmsInstanceFiles1(dmsInstanceFiles1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|