This commit is contained in:
PQZ 2024-08-08 10:09:35 +08:00
parent 7d54a42b35
commit 4ed7438318
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,6 @@ public class CustomerMainRespVO extends CustomerMain {
List<CustomerMain> attnList;
/**标签信息*/
List<BusiLabel> labelList;
/**车辆品牌型号数组*/
List<String> brandAndModel;

View File

@ -62,11 +62,13 @@
<select id="selectCarListByCusId" resultType="cn.iocoder.yudao.module.custom.vo.CarMainRespVO">
SELECT
<include refid="baseCarMainColumn"></include>,
main.is_owner AS isOwner
main.is_owner AS isOwner,bcb.brand_name AS brandStr,bcm.model_name AS modelStr
FROM
base_customer_car main
LEFT JOIN
base_car_main tbcarm ON main.car_id = tbcarm.id AND tbcarm.deleted = 0
LEFT JOIN base_car_brand bcb ON bcb.deleted = 0 AND tbcarm.car_brand = bcb.id
LEFT JOIN base_car_model bcm ON bcm.deleted = 0 AND tbcarm.car_model = bcm.id
WHERE
main.deleted = 0
AND