|
|
@ -428,9 +428,7 @@ public class OcrIdentifyServiceImpl extends ServiceImpl<OcrIdentifyMapper, OcrId
|
|
|
|
OcrIdentify ocrIdentify = super.getById(ocrIdentifyId);
|
|
|
|
OcrIdentify ocrIdentify = super.getById(ocrIdentifyId);
|
|
|
|
List<OcrIdentifyDetail> identifyDetailList = ocrIdentifyDetailService.listByIdentifyId(ocrIdentifyId);
|
|
|
|
List<OcrIdentifyDetail> identifyDetailList = ocrIdentifyDetailService.listByIdentifyId(ocrIdentifyId);
|
|
|
|
ocrIdentifyCallbackLog.setStartTime(date);
|
|
|
|
ocrIdentifyCallbackLog.setStartTime(date);
|
|
|
|
log.info("执行CallBackWlyUtils.callbackWly({}, {})",ocrIdentify,identifyDetailList);
|
|
|
|
|
|
|
|
boolean b = CallBackWlyUtils.callbackWly(ocrIdentify, identifyDetailList);
|
|
|
|
boolean b = CallBackWlyUtils.callbackWly(ocrIdentify, identifyDetailList);
|
|
|
|
log.info("执行CallBackWlyUtils.callbackWly 结束",ocrIdentify,identifyDetailList);
|
|
|
|
|
|
|
|
ocrIdentifyCallbackLog.setStatus(b?1:0);//0-失败,1-成功
|
|
|
|
ocrIdentifyCallbackLog.setStatus(b?1:0);//0-失败,1-成功
|
|
|
|
ocrIdentifyCallbackLog.setEndTime(new Date());
|
|
|
|
ocrIdentifyCallbackLog.setEndTime(new Date());
|
|
|
|
ocrIdentifyCallbackLogService.save(ocrIdentifyCallbackLog);
|
|
|
|
ocrIdentifyCallbackLogService.save(ocrIdentifyCallbackLog);
|
|
|
|