zhoutg 5 vuotta sitten
vanhempi
commit
ae8a97dd95

+ 1 - 1
knowledgeman-service/src/main/resources/mapper/DiagnoseMapper.xml

@@ -29,7 +29,7 @@
         <if test="hasQuestion != null and hasQuestion != ''">
             and a.has_question = #{hasQuestion}
         </if>
-        ORDER BY a.has_question, a.gmt_modified desc
+        ORDER BY a.has_question desc, a.gmt_modified desc
     </select>
 
     <select id="index" resultType="com.diagbot.dto.ConceptBaseDTO">