master
周文涛 2 years ago
parent 0f51d3f9d2
commit 5a50b096ce

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

Loading…
Cancel
Save