|
|
|
@ -249,6 +249,10 @@ public class OcrIdentifyController extends JeecgController<OcrIdentify, IOcrIden
|
|
|
|
|
for (OcrIdentify ocrIdentify : ocrIdentifyList) {
|
|
|
|
|
AssertUtils.isTrue("1".equals(ocrIdentify.getStatus()),String.format("[任务名称]-%s 当前正在识别中,不可进行通知回调",ocrIdentify.getTaskName()));
|
|
|
|
|
}
|
|
|
|
|
for (OcrIdentify ocrIdentify : ocrIdentifyList) {
|
|
|
|
|
ocrIdentify.setNoticeStatus("1");
|
|
|
|
|
}
|
|
|
|
|
ocrIdentifyService.updateBatchById(ocrIdentifyList);
|
|
|
|
|
return Result.OK("操作成功");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|