提交 50e301fc authored 作者: 李瑞鑫's avatar 李瑞鑫

校验不进行ocr识别

上级 9b67a0ce
......@@ -3483,6 +3483,14 @@ public class OrderChildServiceImpl implements OrderChildService {
return null;
}
List<OrderChildWeighPicture> pictures = pictureDao.getImages(param.getChildNo());
List<String> image = pictures.stream().filter(
item -> Objects.equals(item.getType(), 2)).map(
item -> item.getOriginalImg()).collect(Collectors.toList());
if(CollectionUtils.isNotEmpty(image)){
return null;
}
try{
OcrRecognitionResultVO vo = new OcrRecognitionResultVO();
Credential cred = new Credential(tencentCloudApiOcrConfig.getSecretId(), tencentCloudApiOcrConfig.getSecretKey());
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论