|
|
|
@ -601,6 +601,10 @@ public class IntegrationSearchServiceBean extends AbstractServiceBean implements
|
|
|
|
|
String imagesFolderPath = outsourcingResultPath + File.separator + imagesFolderName;
|
|
|
|
|
String metaFilePath = outsourcingResultPath + File.separator + metaFileName;
|
|
|
|
|
|
|
|
|
|
File imagesFolderPathFile = new File(imagesFolderPath);
|
|
|
|
|
if (!imagesFolderPathFile.exists()) {
|
|
|
|
|
imagesFolderPathFile.mkdirs();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for(int i=0; i < dataObjectList.size(); i++) {
|
|
|
|
|
DataObject dataObject = dataObjectList.get(i);
|
|
|
|
@ -618,6 +622,10 @@ public class IntegrationSearchServiceBean extends AbstractServiceBean implements
|
|
|
|
|
|
|
|
|
|
File orgnFile = new File(fileInfo.string("FILE_PATH"));
|
|
|
|
|
|
|
|
|
|
if(!orgnFile.exists() || !orgnFile.canRead()) {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
String modifiedFileName = "P"+fileInfo.string("INF_KEY")+CmmnUtil.indexToAlphabet(j, true)+"."+"JPG";
|
|
|
|
|
|
|
|
|
|
String modifiedFilePath = imagesFolderPath + File.separator + modifiedFileName;
|
|
|
|
|