|
@ -12,6 +12,7 @@ import com.yxt.anrui.crm.api.crmcustomertemp.*; |
|
|
import com.yxt.anrui.crm.api.crmfile.CrmFileAttachTypeEnum; |
|
|
import com.yxt.anrui.crm.api.crmfile.CrmFileAttachTypeEnum; |
|
|
import com.yxt.anrui.crm.api.crmfile.CrmFileDetailsVo; |
|
|
import com.yxt.anrui.crm.api.crmfile.CrmFileDetailsVo; |
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.AppCrmVehicledemandVo; |
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.AppCrmVehicledemandVo; |
|
|
|
|
|
import com.yxt.anrui.crm.api.crmvehicledemand.CrmVehicledemand; |
|
|
import com.yxt.anrui.crm.api.crmvisit.AppCrmVisitThumbDetailsVo; |
|
|
import com.yxt.anrui.crm.api.crmvisit.AppCrmVisitThumbDetailsVo; |
|
|
import com.yxt.anrui.crm.api.crmvisit.CrmVisitVo; |
|
|
import com.yxt.anrui.crm.api.crmvisit.CrmVisitVo; |
|
|
import com.yxt.anrui.crm.api.crmvisit.PcCrmVisitAppendixDto; |
|
|
import com.yxt.anrui.crm.api.crmvisit.PcCrmVisitAppendixDto; |
|
@ -338,7 +339,18 @@ public class CrmCustomerTempService extends MybatisBaseService<CrmCustomerTempMa |
|
|
|
|
|
|
|
|
//意向车型
|
|
|
//意向车型
|
|
|
List<AppCrmVehicledemandVo> appCrmVehicledemandVos = crmVehicledemandService.selectCustomerSid(sid); |
|
|
List<AppCrmVehicledemandVo> appCrmVehicledemandVos = crmVehicledemandService.selectCustomerSid(sid); |
|
|
if (appCrmVehicledemandVos.size() > 0) { |
|
|
appCrmVehicledemandVos.removeAll(Collections.singleton(null)); |
|
|
|
|
|
if (!appCrmVehicledemandVos.isEmpty()) { |
|
|
|
|
|
for (AppCrmVehicledemandVo v : appCrmVehicledemandVos) { |
|
|
|
|
|
String vehicSid = v.getSid(); |
|
|
|
|
|
//根据车辆需求sid查询是否已完善
|
|
|
|
|
|
CrmVehicledemand crmVehicledemand = crmVehicledemandService.selectOneBySid(vehicSid); |
|
|
|
|
|
if (crmVehicledemand != null) { |
|
|
|
|
|
v.setShowAddOrderBtn(true); |
|
|
|
|
|
} else { |
|
|
|
|
|
v.setShowAddOrderBtn(false); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
vo.setAppCrmVehicledemandVos(appCrmVehicledemandVos); |
|
|
vo.setAppCrmVehicledemandVos(appCrmVehicledemandVos); |
|
|
} else { |
|
|
} else { |
|
|
List<AppCrmVehicledemandVo> list = new ArrayList<>(); |
|
|
List<AppCrmVehicledemandVo> list = new ArrayList<>(); |
|
|