Commit 0592e8f5 by 杨林龙

假性离线需求开发

1 parent 9457a4c4
...@@ -64,10 +64,12 @@ ...@@ -64,10 +64,12 @@
and ((timestampdiff(SECOND, tdl.last_gps_time, now()) > 259200 and and ((timestampdiff(SECOND, tdl.last_gps_time, now()) > 259200 and
timestampdiff(SECOND, tdl.last_bs_time, now()) > 259200 and td.source = 1) 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)) or (timestampdiff(SECOND, tdl.last_bs_time, now()) > 259200 and td.source = 0))
<if test="vinList != null">
and tv.vin in and tv.vin in
<foreach collection="vinList" separator="," open="(" close=")" item="item"> <foreach collection="vinList" separator="," open="(" close=")" item="item">
#{item} #{item}
</foreach> </foreach>
</if>
<if test="checkedUserIdsStr != null and checkedUserIdsStr !=''"> <if test="checkedUserIdsStr != null and checkedUserIdsStr !=''">
and find_in_set(tv.created_by,#{checkedUserIdsStr}) and find_in_set(tv.created_by,#{checkedUserIdsStr})
</if> </if>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!