|
|
@ -5483,10 +5483,12 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
|
String mobile = appOrderDetailsVo.getPhone(); |
|
|
|
//车辆交付地点
|
|
|
|
//根据存放地点查询
|
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(priceInfo.getPlannedPickUpLocationKey()).getData(); |
|
|
|
String finalAddress = ""; |
|
|
|
if (scmWarehouseVo != null) { |
|
|
|
finalAddress = scmWarehouseVo.getWarehouseAttribute(); |
|
|
|
if (StringUtils.isNotBlank(priceInfo.getPlannedPickUpLocationKey())){ |
|
|
|
ScmWarehouseVo scmWarehouseVo = scmWarehouseFeign.fetchBySid(priceInfo.getPlannedPickUpLocationKey()).getData(); |
|
|
|
if (scmWarehouseVo != null) { |
|
|
|
finalAddress = scmWarehouseVo.getWarehouseAttribute(); |
|
|
|
} |
|
|
|
} |
|
|
|
String depositTotal = depositInfo.getDepositTotal(); |
|
|
|
//查询台数
|
|
|
@ -5548,8 +5550,8 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
|
commonContract.setCustomerTypeKey(appOrderDetailsVo.getCustomerKey()); |
|
|
|
|
|
|
|
if (StringUtils.isBlank(busSalesOrder.getContractNo())) { |
|
|
|
commonContractFeign.saveContract(commonContract); |
|
|
|
baseMapper.updateContractNoBySid(commonContract.getContractNo(), sid); |
|
|
|
commonContractFeign.saveContract(commonContract); |
|
|
|
} else { |
|
|
|
commonContract.setContractNo(busSalesOrder.getContractNo()); |
|
|
|
} |
|
|
|