fi849返回报文拼接优化

release
yishiqihuasheng 2 years ago
parent ece8929983
commit 4df2bc6b30
  1. 15
      dxhy-erp/src/main/java/com/dxhy/erp/controller/InterfaceController.java

@ -1371,9 +1371,18 @@ public class InterfaceController extends AbstractController {
} }
StringBuilder message = new StringBuilder(); StringBuilder message = new StringBuilder();
message.append("ID:").append(invoiceNoNotExit).append("的发票未传入发票号码,").append("发票号码:") if (invoiceNoNotExit.size()>0){
.append(invoiceNotExit).append("的发票不存在,").append("发票号码:").append(notRz).append("的发票未认证,") message.append("ID:").append(invoiceNoNotExit).append("的发票未传入发票号码。");
.append("发票号码:").append(success).append("处理成功"); }
if (invoiceNotExit.size()>0){
message.append("发票号码:").append(invoiceNotExit).append("的发票不存在。");
}
if (notRz.size()>0){
message.append("发票号码:").append(notRz).append("的发票未认证。");
}
if (success.size()>0){
message.append("发票号码:").append(success).append("处理成功");
}
OutPut outPut = new OutPut(); OutPut outPut = new OutPut();
EsOutPutResp es = new EsOutPutResp(); EsOutPutResp es = new EsOutPutResp();
es.setSAPKEY(erpInvoiceData.getIS_INPUT().getSAPKEY()); es.setSAPKEY(erpInvoiceData.getIS_INPUT().getSAPKEY());

Loading…
Cancel
Save