소스 검색

修改告警排序

yq 3 년 전
부모
커밋
d564389d60
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      fiveep-persistence/src/main/resources/mapper/mysql/AlarmPowerMapper.xml

+ 1 - 0
fiveep-persistence/src/main/resources/mapper/mysql/AlarmPowerMapper.xml

@@ -68,6 +68,7 @@
                 and ap.soe_time between #{startTime} and #{endTime}
             </if>
         </where>
+        order by field(handling_status,'0','2','3','1','4'),sending_time DESC
     </select>
     <select id="getLoopStatusListMap" resultType="com.bizmatics.model.AlarmPower">
         select