insert into m_menu_group_community( g_id,gc_id,name,community_name,community_id ) values ( #{gId},#{gcId},#{name},#{communityName},#{communityId} ) insert into m_menu_group_community( g_id,gc_id,name,community_name,community_id ) values (#{item.gId},#{item.gcId},#{item.name},#{item.communityName},#{item.communityId}) update m_menu_group_community t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.g_id= #{gId} , t.name= #{name} , t.community_name= #{communityName} where 1=1 and t.gc_id= #{gcId} and t.community_id= #{communityId}