hanfucheng 6 月之前
父节点
当前提交
64ee84bed9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/mapper/lawenforcement/LawenforcementViewMapper.xml

+ 1 - 0
src/main/resources/mapper/lawenforcement/LawenforcementViewMapper.xml

@@ -256,6 +256,7 @@
             </when>
             <otherwise>and a.record_status in ('lawenforcement_type_4','lawenforcement_type_6') and c.record_state = 0 GROUP BY a.id</otherwise>
         </choose>
+        order by c.start_time desc
         <if test="deviceId != null  and deviceId != ''"> LIMIT 5 </if>
     </select>