|
|
@ -56,6 +56,11 @@ public class CommonService {
|
|
|
|
addOcrFileInfoDTO.setSerialNumber(UUID.randomUUID().toString().replace("-", ""));
|
|
|
|
addOcrFileInfoDTO.setSerialNumber(UUID.randomUUID().toString().replace("-", ""));
|
|
|
|
addOcrFileInfoDTO.setPicUrl(uploadFileVO.getSaveFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicUrl(uploadFileVO.getSaveFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicCutUrl(uploadFileVO.getSaveCutFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicCutUrl(uploadFileVO.getSaveCutFilePath() + uploadFileVO.getFilePath());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setFileSize(uploadFileVO.getFileSize());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setHeight(uploadFileVO.getHeight());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setWidth(uploadFileVO.getWidth());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setX(uploadFileVO.getX());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setY(uploadFileVO.getY());
|
|
|
|
files.add(addOcrFileInfoDTO);
|
|
|
|
files.add(addOcrFileInfoDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -84,10 +89,14 @@ public class CommonService {
|
|
|
|
addOcrFileInfoDTO.setSerialNumber(UUID.randomUUID().toString().replace("-", ""));
|
|
|
|
addOcrFileInfoDTO.setSerialNumber(UUID.randomUUID().toString().replace("-", ""));
|
|
|
|
addOcrFileInfoDTO.setPicUrl(uploadFileVO.getSaveFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicUrl(uploadFileVO.getSaveFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicCutUrl(uploadFileVO.getSaveCutFilePath() + uploadFileVO.getFilePath());
|
|
|
|
addOcrFileInfoDTO.setPicCutUrl(uploadFileVO.getSaveCutFilePath() + uploadFileVO.getFilePath());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setFileSize(uploadFileVO.getFileSize());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setHeight(uploadFileVO.getHeight());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setWidth(uploadFileVO.getWidth());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setX(uploadFileVO.getX());
|
|
|
|
|
|
|
|
addOcrFileInfoDTO.setY(uploadFileVO.getY());
|
|
|
|
files.add(addOcrFileInfoDTO);
|
|
|
|
files.add(addOcrFileInfoDTO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
iOcrFileInfoService.addBatch(files);
|
|
|
|
iOcrFileInfoService.addBatch(files);
|
|
|
|
|
|
|
|
|
|
|
|
return files;
|
|
|
|
return files;
|
|
|
|