insert into s_community_member( member_type_cd,start_time,end_time,community_id,community_member_id,member_id ) values ( #{memberTypeCd},#{startTime},#{endTime},#{communityId},#{communityMemberId},#{memberId} ) update s_community_member t set t.status_cd = #{statusCd} ,t.b_id = #{newBId} , t.member_type_cd= #{memberTypeCd} , t.start_time= #{startTime} , t.end_time= #{endTime} , t.community_id= #{communityId} , t.community_member_id= #{communityMemberId} where 1=1 and t.member_id= #{memberId}