insert into u_role_community( role_id,rc_id,community_id,community_name,store_id ) values ( #{roleId},#{rcId},#{communityId},#{communityName},#{storeId} ) update u_role_community t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.role_id= #{roleId} , t.community_id= #{communityId} , t.community_name= #{communityName} , t.store_id= #{storeId} where 1=1 and t.rc_id= #{rcId}