wangfeng 4 éve
szülő
commit
109285874d
1 módosított fájl, 1 hozzáadás és 1 törlés
  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