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">