This commit is contained in:
PQZ 2024-08-03 18:38:43 +08:00
parent 893e93563d
commit f002019e32

View File

@ -92,11 +92,11 @@
</select> </select>
<select id="selectListByCusId" resultType="cn.iocoder.yudao.module.custom.entity.CarMain"> <select id="selectListByCusId" resultType="cn.iocoder.yudao.module.custom.entity.CarMain">
SELECT SELECT
<include refid="column"></include> <include refid="baseCarMainColumn"></include>
FROM FROM
`base_car_main` `base_car_main` tbcm
WHERE WHERE
id IN ( SELECT car_id FROM base_customer_car WHERE cus_id = #{cusId} AND deleted = 0 ) tbcm.id IN ( SELECT car_id FROM base_customer_car WHERE cus_id = #{cusId} AND deleted = 0 )
AND deleted = 0 AND tbcm.deleted = 0
</select> </select>
</mapper> </mapper>