replace into ys_entity_user( entity, user_id ) values ( #{entity}, #{userId} ) delete from ys_entity_user where ( entity = #{mcsbAuth.entity} and user_id = #{mcsbAuth.userId})