wangfeng 4 лет назад
Родитель
Сommit
109285874d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/KlRuleMapper.xml

+ 1 - 1
src/main/resources/mapper/KlRuleMapper.xml

@@ -159,7 +159,7 @@
         <if test="parStatus!=null">
             AND ru.status = #{parStatus}
         </if>
-        ORDER BY ru.gmt_modified DESC
+        ORDER BY ru.status DESC ,ru.gmt_modified DESC
     </select>
     <select id="getByIdRuleInfo" resultType="com.diagbot.dto.KlRuleByIdDTO">
         SELECT