| | |
| | | <if test="communityName != null and communityName != '' and needCommunityInfo == true"> |
| | | and sc.name like concat('%',#{communityName},'%') |
| | | </if> |
| | | <if test="needCommunityInfo == true"> |
| | | group by ms.community_id |
| | | </if> |
| | | <!-- <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} |
| | |
| | | <if test="communityName != null and communityName != '' and needCommunityInfo == true"> |
| | | and sc.name like concat('%',#{communityName},'%') |
| | | </if> |
| | | <if test="needCommunityInfo == true"> |
| | | group by ms.community_id |
| | | </if> |
| | | <!-- <if test="needCommunityInfo == true">--> |
| | | <!-- group by ms.community_id--> |
| | | <!-- </if>--> |
| | | |
| | | </select> |
| | | |
| | |
| | | '审核拒绝' |
| | | END) stateName,ca.area_code areaCode,ca.area_name areaName, |
| | | ca.parent_area_code parentAreaCode,ca.parent_area_name parentAreaName, |
| | | t.community_area communityArea,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.fee_price,t.fee_price feePrice |
| | | t.community_area communityArea,t.pay_fee_month,t.pay_fee_month payFeeMonth,t.fee_price,t.fee_price feePrice,t.qr_code qrCode |
| | | from s_community t,city_area ca |
| | | <if test="memberId !=null and memberId !=''"> |
| | | ,s_community_member cm |
| | |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | group by t.community_id |
| | | <!-- group by t.community_id--> |
| | | order by t.create_time ASC |
| | | <if test="page != -1 and page != null "> |
| | | limit #{page}, #{row} |
| | |
| | | ca.area_name areaName, |
| | | ca.parent_area_name cityName, |
| | | ca1.parent_area_name provName, |
| | | sc.community_area communityArea |
| | | sc.community_area communityArea, |
| | | sc.qr_code qrCode |
| | | FROM |
| | | s_community sc, |
| | | s_community_member scm, |
| | |
| | | <if test="communityId != null and communityId != ''"> |
| | | and sc.community_id = #{communityId} |
| | | </if> |
| | | group by sc.community_id |
| | | </select> |
| | | </mapper> |