PLF il y a 5 ans
Parent
commit
75e0e1be5c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/main/resources/mapper/HomePageMapper.xml

+ 2 - 1
src/main/resources/mapper/HomePageMapper.xml

@@ -176,6 +176,7 @@
           enabledStatus = '1'
           AND organizeID = #{organizeID}
         ORDER BY
-          IF(ISNULL(sort),1,0) ASC
+          IF(ISNULL(sort),1,0) ASC,
+          sort ASC
     </select>
 </mapper>