master
周文涛 2 years ago
parent 2609cc2e3b
commit 6bd8c26095

@ -316,16 +316,15 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
if (semanticResponseJson != null) { if (semanticResponseJson != null) {
log.info(semanticResponseJson.toJSONString()); log.info(semanticResponseJson.toJSONString());
updateWrapper.set(OcrIdentify::getNoticeStatus, "1"); updateWrapper.set(OcrIdentify::getNoticeStatus, "1");
super.update(updateWrapper);
} else { } else {
log.info("回调返回-----:null"); log.info("回调返回-----:null");
} }
} }
} else {
updateWrapper.set(OcrIdentify::getNoticeStatus, "0");
} }
} }
} }
super.update(updateWrapper);
} }
public static void mapPutIfTrue(Map map, String key, Boolean flag) { public static void mapPutIfTrue(Map map, String key, Boolean flag) {

Loading…
Cancel
Save