|
|
|
@ -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);
|
|
|
|
|