Commit 2bcfe3fb authored by hezhen's avatar hezhen

123

parent 0c3cc636
......@@ -6,9 +6,13 @@
<select id="selectList" resultType="com.xxfc.platform.vehicle.pojo.vo.VehicleApplyVo" parameterType="com.xxfc.platform.vehicle.pojo.dto.VehicleApplyFindDTO">
SELECT
a.*,
i.`name` as companyName
i.`name` as companyName,
b.cn_name as brandName,
c.`name` categoryName
FROM vehicle_apply a
LEFT JOIN branch_company i on a.subordinate_branch=i.id
LEFT JOIN vehicle_brand b ON a.brand_id=b.id
LEFT JOIN vehicle_category c ON a.category_id=c.id
<where>
a.is_del = 0
<if test="name != null and name != ''">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment