master
周文涛 2 years ago
parent 81feaf9e2d
commit 77f65ef0d3

@ -95,7 +95,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
long count = ocrIdentifyDetailService.count(new LambdaUpdateWrapper<OcrIdentifyDetail>().eq(OcrIdentifyDetail::getIdentifyId, identifyId).eq(OcrIdentifyDetail::getImageUrl, imgPath));
if (count>0) {
//该图片已识别过
log.error("该图片已识别过");
log.error("该图片已识别过");
return;
}
ocrIdentifyDetail.setIdentifyId(identifyId);

Loading…
Cancel
Save