|
|
@ -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){ |
|
|
|