소스 검색

优化代码

wuxw 4 년 전
부모
커밋
8a0ee0f2cf
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      java110-db/src/main/resources/mapper/community/CommunitySpacePersonTimeV1ServiceDaoImplMapper.xml

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

@@ -45,7 +45,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>