|
|
|
|
@ -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);
|
|
|
|
|
|