| | |
| | | |
| | | |
| | | <select id="findByPage" resultType="com.panzhihua.common.model.vos.grid.EventGridAdminVO" |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridDataDTO"> |
| | | parameterType="com.panzhihua.common.model.dtos.grid.PageEventGridDataAdminDTO"> |
| | | SELECT DISTINCT |
| | | egd.id, |
| | | egd.grid_name, |
| | |
| | | </select> |
| | | |
| | | <select id="getGridMemberLists" resultType="com.panzhihua.common.model.vos.grid.EventGridMemberAdminVO"> |
| | | select user_id,nick_name from sys_user where act_id = #{communityId} |
| | | select user_id,nick_name from sys_user where community_id = #{communityId} and `type` = 6 |
| | | </select> |
| | | |
| | | <select id="getGridMember" resultType="String"> |
| | | <select id="getGridMember" resultType="com.panzhihua.common.model.vos.grid.GridMemberAdminVO"> |
| | | SELECT |
| | | su.user_id, |
| | | su.nick_name |
| | | FROM |
| | | event_grid_member_relation AS egmr |
| | |
| | | |
| | | </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> |
| | | |
| | | <delete id="removeGridRelationByGridId"> |
| | | delete from event_grid_member_relation where grid_id = #{gridId} |
| | | </delete> |
| | | |
| | | </mapper> |