瀏覽代碼

优化代码

wuxw 3 年之前
父節點
當前提交
fe2b6eb767

+ 1 - 1
java110-db/src/main/resources/mapper/community/CommunitySpaceOpenTimeV1ServiceDaoImplMapper.xml

@@ -50,7 +50,7 @@
         <if test="communityId !=null and communityId != ''">
             and t.community_id= #{communityId}
         </if>
-        order by t.create_time desc
+        order by t.hours
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>