|
|
@ -61,7 +61,17 @@ public class DmsBillsFaultInstanceServiceImpl implements IDmsBillsFaultInstanceS
|
|
|
|
List<DmsInstanceFile> dmsInstanceFiles = dmsInstanceFileMapper.selectDmsInstanceFileList(queryInstanceFile);
|
|
|
|
List<DmsInstanceFile> dmsInstanceFiles = dmsInstanceFileMapper.selectDmsInstanceFileList(queryInstanceFile);
|
|
|
|
|
|
|
|
|
|
|
|
for (DmsInstanceFile dmsInstanceFile : dmsInstanceFiles){
|
|
|
|
for (DmsInstanceFile dmsInstanceFile : dmsInstanceFiles){
|
|
|
|
dmsInstanceFile.setUrl(dmsInstanceFile.getFilePath());
|
|
|
|
String filePath = dmsInstanceFile.getFilePath();
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
|
|
|
}else{
|
|
|
|
|
|
|
|
dmsInstanceFile.setUrl(dmsInstanceFile.getFilePath());
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dmsBillsFaultInstance.setDmsInstanceFiles(dmsInstanceFiles);
|
|
|
|
dmsBillsFaultInstance.setDmsInstanceFiles(dmsInstanceFiles);
|
|
|
|
|
|
|
|
|
|
|
@ -470,5 +480,4 @@ public class DmsBillsFaultInstanceServiceImpl implements IDmsBillsFaultInstanceS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|