|
|
|
@ -672,7 +672,8 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
return r; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void sendImageSys(String content, String pushType, PushInfo pushInfo, Long id){ |
|
|
|
|
public R sendImageSys(String content, String pushType, PushInfo pushInfo, Long id){ |
|
|
|
|
R r = new R(); |
|
|
|
|
PushInfo pushInfo1 = new PushInfo(); |
|
|
|
|
pushInfo1.setId(pushInfo.getId()); |
|
|
|
|
pushInfo1.setByzd1("YXXT"); |
|
|
|
@ -689,7 +690,9 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
String error=String.format("invoiceNo:%s not eleInvoice do not push",outputInvoiceRequest.getInvoiceList().get(0).getInvoiceNumber()); |
|
|
|
|
log.info(error); |
|
|
|
|
failPush(id,content,error,error,pushInfo1,pushType); |
|
|
|
|
return; |
|
|
|
|
r.put(OrderManagementConstant.CODE, "9999"); |
|
|
|
|
r.put(OrderManagementConstant.ALL_MESSAGE, error); |
|
|
|
|
return r; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -721,7 +724,11 @@ public class PushInvoiceServiceImpl implements PushInvoiceService { |
|
|
|
|
log.error(error); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
failPush(id,content,error,e.getMessage(),pushInfo1,pushType); |
|
|
|
|
r.put(OrderManagementConstant.CODE, "9999"); |
|
|
|
|
r.put(OrderManagementConstant.ALL_MESSAGE, error); |
|
|
|
|
return r; |
|
|
|
|
} |
|
|
|
|
return r; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
|