@ -153,6 +153,7 @@ public class FileUploadServiceImpl implements IFileUploadService {
int startY = height /100 * widthStart.intValue();
int endY = height /100 * (heightStart.intValue() - widthStart.intValue());
log.info("cutInfo :" +height +" "+width+" "+startY+" "+endY);
//剪切
ImgUtil.cut(image, FileUtil.file(cutDest), new Rectangle(0, startY, width, endY));
@ -122,7 +122,7 @@ public class StartSegmentHandler {
fileDTO.setUploadFileName(fileInfo.getPicName());
fileDTO.setSerialNumber(fileInfo.getSerialNumber());
fileDTOList.add(null);
fileDTOList.add(fileDTO);
}
//更新数据库表
List<OcrBasic> collect = ocrBasicList.stream().peek(p -> {