PLF 5 лет назад
Родитель
Сommit
596ca3ea09
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/resources/mapper/HomePageMapper.xml

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

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