shi'sen'yuan 3 年之前
父节点
当前提交
d29473d9f5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      master/src/main/resources/mybatis/ehs/TIncidentRecordsMapper.xml

+ 1 - 0
master/src/main/resources/mybatis/ehs/TIncidentRecordsMapper.xml

@@ -52,6 +52,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         </where>
         <!-- 数据范围过滤 -->
         ${params.dataScope}
+        order by d.incident_date desc
     </select>
     
     <select id="selectTIncidentRecordsById" parameterType="Long" resultMap="TIncidentRecordsResult">