Commit c7a320be authored by hanfeng's avatar hanfeng

开票

parent 7dc2f0b2
......@@ -108,7 +108,7 @@ public class InvoiceBiz extends BaseBiz<InvoiceMapper, Invoice> {
JSONObject jsonObject = JSON.parseObject(result);
Map<String,Object> data = (Map<String, Object>) jsonObject.get("data");
Integer status = (Integer) data.get("status");
if (InvoiceStatusEum.ONGOING.getCode().equals(status)&&type==0){
if (InvoiceStatusEum.ONGOING.getCode().equals(status)){
executorService.schedule(()->{
queryInvoiceResult(invoiceSerialNum,id,1);
},2, TimeUnit.HOURS);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment