|
|
|
|
@ -353,7 +353,7 @@ public class OcrIdentifyController extends JeecgController<OcrIdentify, IOcrIden
|
|
|
|
|
}
|
|
|
|
|
for (OcrIdentify entity : ocrIdentifyList) {
|
|
|
|
|
AssertUtils.isTrue("1".equals(entity.getStatus()),String.format("[任务名称]-%s 当前正在识别中,不可进行上报",entity.getTaskName()));
|
|
|
|
|
AssertUtils.isTrue(entity.getNoticeStatus().equals("0"),"当前任务已上报成功");
|
|
|
|
|
AssertUtils.isTrue(entity.getNoticeStatus().equals("0"),String.format("[任务名称]-%s 当前已上报,不可再次进行上报",entity.getTaskName()));
|
|
|
|
|
}
|
|
|
|
|
for (String identifyId : Arrays.asList(id.split(","))) {
|
|
|
|
|
ocrIdentifyService.callbackWlyAsync(identifyId);
|
|
|
|
|
|