识别中图片不存在跳过
master
周文涛 2 years ago
parent 678d3c47c1
commit 3b09493ebf

@ -168,11 +168,14 @@ public class HandleTransInit implements ApplicationRunner {
}
}
}
semanticResponseJson.put("identifyId", masterTaskId);
log.info("ocr识别返回数据:");
log.info(semanticResponseJson.toJSONString());
if (check==1) {
semanticResponseJson.put("identifyId", masterTaskId);
log.info("ocr识别返回数据:");
log.info(semanticResponseJson.toJSONString());
ocrIdentifyService.getSemanticInfo(semanticResponseJson);
}else{
log.info("图片不存在:");
//log.info(semanticResponseJson.toJSONString());
}
//该子任务已执行,判断主任务是否残留
String masterTask = (String) redisUtil.get("identify_" + masterTaskId);

Loading…
Cancel
Save