Commit 816e491f by 向延琳

修改日里程排序方式

1 parent 5171871a
...@@ -1115,7 +1115,7 @@ ...@@ -1115,7 +1115,7 @@
<select id="findJourneyDailyList" resultType="cn.com.glsx.admin.modules.model.export.JourneyDailyExport"> <select id="findJourneyDailyList" resultType="cn.com.glsx.admin.modules.model.export.JourneyDailyExport">
select tvd.sn as sn, select tvd.sn as sn,
tv.vin as vin, tv.vin as vin, tv.created_date,
ifnull(sum(tdj.mileage), 0) as journeyMileage, ifnull(sum(tdj.mileage), 0) as journeyMileage,
date_format(tdj.begin_time, '%Y-%m-%d') as journeyTime date_format(tdj.begin_time, '%Y-%m-%d') as journeyTime
from t_vehicle tv from t_vehicle tv
...@@ -1138,7 +1138,8 @@ ...@@ -1138,7 +1138,8 @@
or tvd.sn like '%${keywords}%' or tvd.sn like '%${keywords}%'
) )
</if> </if>
group by tvd.sn, date_format(tdj.begin_time, '%Y-%m-%d'); group by tvd.sn, date_format(tdj.begin_time, '%Y-%m-%d')
order by tv.created_date desc
</select> </select>
<select id="getOffLineAlarmCount" resultType="cn.com.glsx.admin.modules.model.stat.StatCountModel"> <select id="getOffLineAlarmCount" resultType="cn.com.glsx.admin.modules.model.stat.StatCountModel">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!