瀏覽代碼

优化小区重复显示问题

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>