| | |
| | | <insert id="saveMenuGroupCommunitys" parameterType="Map"> |
| | | insert into m_menu_group_community( |
| | | g_id,gc_id,name,community_name,community_id |
| | | ) |
| | | ) values |
| | | <foreach collection="menuGroupCommunityPos" item="item" separator=","> |
| | | (#{item.gId},'0',#{item.gcId},#{item.name},#{item.communityName},#{item.communityId}) |
| | | (#{item.gId},#{item.gcId},#{item.name},#{item.communityName},#{item.communityId}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | |
| | | <if test="communityName !=null and communityName != ''"> |
| | | , t.community_name= #{communityName} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | , t.community_id= #{communityId} |
| | | </if> |
| | | |
| | | where 1=1 |
| | | <if test="gcId !=null and gcId != ''"> |
| | | and t.gc_id= #{gcId} |
| | | </if> |
| | | <if test="communityId !=null and communityId != ''"> |
| | | and t.community_id= #{communityId} |
| | | </if> |
| | | |
| | | </update> |
| | | |