huangfuli há 3 anos atrás
pai
commit
169cc5e21c

+ 3 - 3
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/util/XmlUtil.java

@@ -238,7 +238,7 @@ public class XmlUtil implements InitializingBean {
                 "\n" +
                 "</Kp>";
         try {
-            String returnFile = strChangeXML(s, paymentManagement.getId());
+            String returnFile = strChangeXML(s, number.substring(4) + paymentManagement.getIdentityAuthenticationInfo().getCustomerName() + paymentManagement.getAmountIngPayable());
             return returnFile;
         } catch (Exception e) {
             e.printStackTrace();
@@ -352,7 +352,7 @@ public class XmlUtil implements InitializingBean {
                 "\n" +
                 "</Kp>";
         try {
-            String returnFile = strChangeXMLs(s, paymentManagement.getId());
+            String returnFile = strChangeXMLs(s, number.substring(4) + paymentManagement.getIdentityAuthenticationInfo().getCustomerName() + paymentManagement.getAmountIngPayable());
             return returnFile;
         } catch (Exception e) {
             e.printStackTrace();
@@ -462,7 +462,7 @@ public class XmlUtil implements InitializingBean {
                 "\n" +
                 "</Kp>";
         try {
-            String returnFile = strChangeXMLs(s, paymentManagement.getId());
+            String returnFile = strChangeXMLs(s, number.substring(4) + paymentManagement.getIdentityAuthenticationInfo().getCustomerName() + paymentManagement.getAmountIngPayable());
             return returnFile;
         } catch (Exception e) {
             e.printStackTrace();