Commit 4ddff0b1 authored by 周健威's avatar 周健威

修改车辆查询重复车型问题

parent 0b04a288
...@@ -1116,13 +1116,14 @@ ...@@ -1116,13 +1116,14 @@
group by model_id, company_id group by model_id, company_id
<if test="lon != null and lat != null">, distance</if> <if test="lon != null and lat != null">, distance</if>
</if> </if>
<if test="lon != null and lat != null">
order by order by
<if test=" yearMonthAndParam !=null"> <if test=" yearMonthAndParam !=null">
hasVehicle desc, hasVehicle desc,
</if> </if>
distance asc, model_id asc <if test="lon != null and lat != null">
</if> distance asc,
</if>
model_id asc
</select> </select>
<select id="searchUsableVehicle" parameterType="java.util.Map" <select id="searchUsableVehicle" parameterType="java.util.Map"
......
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