Commit e2708d4e by levphon

Merge remote-tracking branch 'origin/master'

2 parents 3a23671f 492eb56f
...@@ -551,6 +551,7 @@ ...@@ -551,6 +551,7 @@
or tv.owner_name like '%${keywords}%' or tv.owner_name like '%${keywords}%'
) )
</if> </if>
order by tvd.id desc
</select> </select>
<select id="findFinalPositioningList" resultType="cn.com.glsx.admin.modules.model.export.FinalPositioningExport"> <select id="findFinalPositioningList" resultType="cn.com.glsx.admin.modules.model.export.FinalPositioningExport">
...@@ -608,6 +609,7 @@ ...@@ -608,6 +609,7 @@
or tv.owner_name like '%${keywords}%' or tv.owner_name like '%${keywords}%'
) )
</if> </if>
order by tvd.id desc
</select> </select>
<select id="findJudgmentList" resultType="cn.com.glsx.admin.modules.model.export.JudgmentExport"> <select id="findJudgmentList" resultType="cn.com.glsx.admin.modules.model.export.JudgmentExport">
...@@ -662,6 +664,7 @@ ...@@ -662,6 +664,7 @@
or tvd.sn like '%${keywords}%' or tvd.sn like '%${keywords}%'
) )
</if> </if>
order by tvd.id desc
</select> </select>
<select id="findOfflineList" resultType="cn.com.glsx.admin.modules.model.export.OfflineExport"> <select id="findOfflineList" resultType="cn.com.glsx.admin.modules.model.export.OfflineExport">
...@@ -755,6 +758,7 @@ ...@@ -755,6 +758,7 @@
left join t_workorder tw on tw.id = tv.workorder_id and tw.del_flag = 0 left join t_workorder tw on tw.id = tv.workorder_id and tw.del_flag = 0
left join t_user tu on tu.id = tv.created_by and tu.del_flag = 0 left join t_user tu on tu.id = tv.created_by and tu.del_flag = 0
where tv.del_flag = 0 where tv.del_flag = 0
and tvd.bind_status = 1
and tvd.del_flag = 0 and tvd.del_flag = 0
<if test="orgId != null "> <if test="orgId != null ">
and tu.id = #{orgId} and tu.id = #{orgId}
...@@ -762,6 +766,7 @@ ...@@ -762,6 +766,7 @@
<if test="sn != null and sn !=''"> <if test="sn != null and sn !=''">
and tvd.sn = #{sn} and tvd.sn = #{sn}
</if> </if>
order by tvd.id desc
</select> </select>
<select id="getActiveDeviceInfoWithAuth" resultType="cn.com.glsx.admin.modules.model.ActiveDeviceVo"> <select id="getActiveDeviceInfoWithAuth" resultType="cn.com.glsx.admin.modules.model.ActiveDeviceVo">
...@@ -850,6 +855,7 @@ ...@@ -850,6 +855,7 @@
or tvd.sn like '%${keywords}%' or tvd.sn like '%${keywords}%'
) )
</if> </if>
order by tvd.id desc
</select> </select>
<select id="getOffLineAlarmCount" resultType="Integer"> <select id="getOffLineAlarmCount" resultType="Integer">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!