Browse Source

收款单的贷款的往来单位以及客户修改

master
dimengzhe 2 years ago
parent
commit
57a9b6da72
  1. 14
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java

14
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincollectionconfirmation/FinCollectionConfirmationService.java

@ -1597,7 +1597,12 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
if (finSelectedReceivablesDetailedVos1_1.size() > 0) {
for (int i = 0; i < finSelectedReceivablesDetailedVos1_1.size(); i++) {
FinSelectedReceivablesDetailedVo vvvv = finSelectedReceivablesDetailedVos1_1.get(i);
String customerNum = vvvv.getContractNo()+vvvv.getVIN();
String customerNum = "";
if(vvvv.getVIN().length()<8){
customerNum = vvvv.getContractNo()+vvvv.getVIN();
}else{
customerNum = vvvv.getVIN();
}
BdCustomer bdCustomer = createBdCustomer1(confirmation.getUseOrgSid(), vvvv.getCustomerName(), customerNum, sid);
//推送金蝶客户,修改目标组织为采购系统对应的金蝶分公司code
if (data != null){
@ -1651,7 +1656,12 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl
for (int i = 0; i < finSelectedReceivablesDetailedVos2_1.size(); i++) {
FinSelectedReceivablesDetailedVo vvvv = finSelectedReceivablesDetailedVos2_1.get(i);
//先推送客户
String customerNum = vvvv.getContractNo()+vvvv.getVIN();
String customerNum = "";
if(vvvv.getVIN().length()<8){
customerNum = vvvv.getContractNo()+vvvv.getVIN();
}else{
customerNum = vvvv.getVIN();
}
BdCustomer bdCustomer = createBdCustomer1(confirmation.getUseOrgSid(), vvvv.getCustomerName(), customerNum, sid);
//推送金蝶客户,修改目标组织为采购系统对应的金蝶分公司code
if (data != null){

Loading…
Cancel
Save