select shop_id, user_id from shop_admin insert into shop_admin shop_id, user_id, #{shopId}, #{userId}, update shop_admin user_id = #{userId}, where shop_id = #{shopId} delete from shop_admin where shop_id = #{shopId} delete from shop_admin where shop_id in #{shopId}