Commit 3ac8f8a4 by 向延琳

fix:排序错误

1 parent 623986e3
...@@ -861,7 +861,7 @@ ...@@ -861,7 +861,7 @@
select tvd.id, tw.partner_order_no as workOrderNo, select tvd.id, tw.partner_order_no as workOrderNo,
tv.owner_name as ownerName, tv.owner_name as ownerName,
tvd.sn as sn, tvd.sn as sn,
tv.vin as vin, tv.vin as vin, tv.created_date,
tdjo.total_journey_count as tripCount, tdjo.total_journey_count as tripCount,
tdjo.distance as distance tdjo.distance as distance
from t_vehicle tv from t_vehicle tv
...@@ -884,7 +884,7 @@ ...@@ -884,7 +884,7 @@
or tvd.sn like '%${keywords}%' or tvd.sn like '%${keywords}%'
) )
</if> </if>
order by tvd.id desc order by tv.created_date desc
</select> </select>
<select id="countJourneyList" resultType="java.lang.Integer"> <select id="countJourneyList" resultType="java.lang.Integer">
...@@ -997,7 +997,7 @@ ...@@ -997,7 +997,7 @@
tw.partner_order_no as workOrderNo, tw.partner_order_no as workOrderNo,
tv.owner_name as ownerName, tv.owner_name as ownerName,
tvd.sn as sn, tvd.sn as sn,
tv.vin as vin, tv.vin as vin, tv.created_date,
tdj.begin_time as journeyStartTime, tdj.begin_time as journeyStartTime,
tdj.end_time as journeyEndTime, tdj.end_time as journeyEndTime,
tdj.mileage as distance tdj.mileage as distance
...@@ -1022,7 +1022,7 @@ ...@@ -1022,7 +1022,7 @@
<if test="journeyEndTime != null and journeyEndTime !=''"> <if test="journeyEndTime != null and journeyEndTime !=''">
and tdj.end_time <![CDATA[ <= ]]> #{journeyEndTime} and tdj.end_time <![CDATA[ <= ]]> #{journeyEndTime}
</if> </if>
order by tvd.id desc order by tv.created_date desc
</select> </select>
<select id="countJourneyDetailList" resultType="java.lang.Integer"> <select id="countJourneyDetailList" resultType="java.lang.Integer">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!