狮桥渠道租赁物初始化数据在接口平台完成

This commit is contained in:
gityjf 2020-08-29 15:35:19 +08:00
parent a1950c394d
commit 10e9b661bc

View File

@ -46,8 +46,7 @@ import com.tenwa.flow.util.FlowUtil;
* 存量客户未考虑,待后期周亚辉完善不会完善跳起来打
*/
public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
private static final String SHIQIAO = "SHIQIAO";
public String serial = null;
@Override
public Object run(Transaction Sqlca) throws Exception {
@ -181,7 +180,11 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
//无论是不是存量客户都在 项目表 客户和项目关联表 中都新增一条数据客户和项目是一对多的
this.saveProjInfo(bm, tx, asUser,distributoIid,lpi == null ? null : lpi.getAttribute("is_netcar").toString());
this.saveEquipmentCar(bmLECT, tx, asUser,vndrName,lbat); //车辆租赁物信息表
if (this.getAttribute("channel") != null && this.getAttribute("channel").toString().equals(SHIQIAO)){
//接口平台狮桥渠道在接口平台落地数据
}else{
this.saveEquipmentCar(bmLECT, tx, asUser,vndrName,lbat); //车辆租赁物信息表
}
this.saveUnionLessee(bmLULT,tx,customerId,asUser);
this.saveBusinessStatus(bsbom, tx, asUser);//项目进度表
}else{
@ -201,7 +204,11 @@ public class LBProjectIntoTempInitCarBusiness extends BaseBussiness {
customerId = bmC.getAttribute("customerid").getString();
this.saveCustomerType(bmCTT, tx, customerId,asUser);//证件类型临时表
this.savePersonOrCompany(bomC, tx, colName,customerId,asUser,lbat);//自然人||法人
this.saveEquipmentCar(bmLECT, tx, asUser,vndrName,lbat); //车辆租赁物信息表
if (this.getAttribute("channel") != null && this.getAttribute("channel").toString().equals(SHIQIAO)){
//接口平台狮桥渠道在接口平台落地数据
}else{
this.saveEquipmentCar(bmLECT, tx, asUser,vndrName,lbat); //车辆租赁物信息表
}
this.saveUnionLessee(bmLULT, tx, customerId, asUser);//union表
this.saveProjInfo(bm, tx, asUser,distributoIid,null);//保存项目信息表
this.saveBusinessStatus(bsbom, tx, asUser);//项目进度表