Commit 2a678c0f by 杨林龙

优化假性离线查询

1 parent 2072f1b9
......@@ -30,7 +30,7 @@
where tv.del_flag = 0
and tvd.bind_status = 1
and tvd.del_flag = 0
group by tv.vin
group by tv.id
</select>
<select id="getOfflineVehicleNumMap" resultType="cn.com.glsx.admin.modules.model.FakeOfficeMapDto">
......@@ -46,7 +46,7 @@
and ((timestampdiff(SECOND, tdl.last_gps_time, now()) > 259200 and
timestampdiff(SECOND, tdl.last_bs_time, now()) > 259200 and td.source = 1)
or (timestampdiff(SECOND, tdl.last_bs_time, now()) > 259200 and td.source = 0))
group by tv.vin
group by tv.id
</select>
<select id="searchFakeOfficeList" resultType="cn.com.glsx.admin.modules.model.export.FakeOfficeExport">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!