소스 검색

优化小区重复显示问题

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

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

@@ -494,6 +494,7 @@
                 #{item}
             </foreach>
         </if>
+        group by t.community_id
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>