| | |
| | | AND egd.grid_street_id = #{pageEventGridDataDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridCommunityId!=null"> |
| | | AND egd.grid_community_id = #{pageEventGridDataDTO.gridCommunityId} |
| | | AND egd.grid_community_id = ${pageEventGridDataDTO.gridCommunityId} |
| | | </if> |
| | | |
| | | <if test="pageEventGridDataDTO.keyWord != null and pageEventGridDataDTO.keyWord != """> |
| | |
| | | AND gd.grid_street_id = #{pageEventGridDataDTO.gridStreetId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridCommunityId!=null"> |
| | | AND gd.grid_community_id = #{pageEventGridDataDTO.gridCommunityId} |
| | | AND gd.grid_community_id = ${pageEventGridDataDTO.gridCommunityId} |
| | | </if> |
| | | <if test="pageEventGridDataDTO.gridName!=null"> |
| | | AND gd.grid_name = #{pageEventGridDataDTO.gridName} |
| | |
| | | </select> |
| | | |
| | | <select id="getComActByActId" resultType="com.panzhihua.common.model.vos.grid.ComGridActVO"> |
| | | select community_id,street_id,name,address,province_code,city_code,area_code from com_act where community_id = #{communityId} |
| | | select community_id,street_id,name,address,province_code,city_code,area_code from com_act where community_id = ${communityId} |
| | | </select> |
| | | <select id="getGridMemberListsByGrid" resultType="com.panzhihua.common.model.vos.grid.EventGridMemberAdminVO"> |
| | | SELECT |
| | |
| | | FROM event_grid_data gd LEFT JOIN com_mng_struct_area_district ad ON gd.zone_id = ad.district_adcode |
| | | LEFT JOIN com_street st ON gd.grid_street_id = st.street_id |
| | | LEFT JOIN com_act act ON gd.grid_community_id = act.community_id |
| | | WHERE gd.grid_community_id = #{communityId} |
| | | WHERE gd.grid_community_id = ${communityId} |
| | | </select> |
| | | <select id="selectGridWithArea" resultType="com.panzhihua.common.model.vos.grid.EventGridDataAreaVO" parameterType="long"> |
| | | SELECT |