|
|
@ -111,6 +111,7 @@ import com.yxt.anrui.buscenter.biz.bussalesordervehicle.BusSalesOrderVehicleServ |
|
|
|
import com.yxt.anrui.buscenter.biz.bussalesvehicleorder.BusSalesVehicleOrderService; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomertemp.AppCrmCustomerTempInfoVo; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempFeign; |
|
|
|
import com.yxt.anrui.crm.api.crmcustomertemp.CrmCustomerTempVo; |
|
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.CrmOrderVo; |
|
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.CrmVehicleDemandOrderVo; |
|
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.CrmVehicledemandFeign; |
|
|
@ -3782,6 +3783,14 @@ public class BusSalesOrderService extends MybatisBaseService<BusSalesOrderMapper |
|
|
|
if (busSaleOrderVehicleOutVo == null) { |
|
|
|
return rb.success().setData(busSaleOrderVehicleOutVo); |
|
|
|
} |
|
|
|
//根据客户sid查询客户编码
|
|
|
|
if(StringUtils.isNotBlank(busSaleOrderVehicleOutVo.getCustomerSid())){ |
|
|
|
//根据客户sid查询客户编码
|
|
|
|
CrmCustomerTempVo crmCustomerTemp = crmCustomerTempFeign.fetchSid(busSaleOrderVehicleOutVo.getCustomerSid()).getData(); |
|
|
|
if(crmCustomerTemp != null){ |
|
|
|
busSaleOrderVehicleOutVo.setCustomerNo(crmCustomerTemp.getCustomerNo()); |
|
|
|
} |
|
|
|
} |
|
|
|
//根据销售订单sid查询优惠价值
|
|
|
|
//查询销售销售订单的单台销售折让
|
|
|
|
ResultBean<AppOrderDetailsVo> resultBean = getSaleOrderDetails(busSaleOrderVehicleOutVo.getSalesOrderSid()); |
|
|
|