master
周文涛 2 years ago
parent bf6a486208
commit bc7ecaabe3

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

Loading…
Cancel
Save