影像ocr跑批定时任务bug修复
This commit is contained in:
parent
0c8a0352fc
commit
2d7a2c1040
@ -52,12 +52,12 @@ public class AutoOcr implements Job {
|
||||
JSONObject invoiceResultJson = this.getfullResult(contractId,projectNo,invoiceResult);
|
||||
resultSave(invoiceResultJson,INVOICE_ORC_RESULT.CLASS_NAME,tx);
|
||||
|
||||
is.setFlowNo("BusinessApplyFlow");
|
||||
String bankResult = is.invoiceOrc("APZLJJ000260", ImageOcr.ocrType.bank_card_ocr,tx);
|
||||
System.out.println("定时任务银行卡返回结果:"+bankResult);
|
||||
JSONObject bankResultJson = this.getfullResult(contractId,projectNo,bankResult);
|
||||
resultSave(bankResultJson,BANK_CARD_ORC_RESULT.CLASS_NAME,tx);
|
||||
|
||||
is.setFlowNo("BusinessApplyFlow");
|
||||
String idResult = is.invoiceOrc("APZLJJ000130", ImageOcr.ocrType.id_card,tx);
|
||||
System.out.println("定时任务身份证返回结果:"+idResult);
|
||||
JSONObject idResultJson = this.getfullResult(contractId,projectNo,idResult);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user