PLF %!s(int64=5) %!d(string=hai) anos
pai
achega
596ca3ea09
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>