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