|
|
@@ -339,7 +339,9 @@
|
|
|
<if test="communityName != null and communityName != '' and needCommunityInfo == true">
|
|
|
and sc.name like concat('%',#{communityName},'%')
|
|
|
</if>
|
|
|
- group by ms.community_id
|
|
|
+ <if test="needCommunityInfo == true">
|
|
|
+ group by ms.community_id
|
|
|
+ </if>
|
|
|
order by ms.create_time desc
|
|
|
<if test="page != -1 and page != null">
|
|
|
limit #{page},#{row}
|
|
|
@@ -425,7 +427,10 @@
|
|
|
<if test="communityName != null and communityName != '' and needCommunityInfo == true">
|
|
|
and sc.name like concat('%',#{communityName},'%')
|
|
|
</if>
|
|
|
- group by ms.community_id
|
|
|
+ <if test="needCommunityInfo == true">
|
|
|
+ group by ms.community_id
|
|
|
+ </if>
|
|
|
+
|
|
|
</select>
|
|
|
|
|
|
<!-- 查询小区信息 add by wuxw 2018-07-03 -->
|