delete from zhky."public".sys_user_post where user_id=#{userId} delete from zhky."public".sys_user_post where user_id in #{userId} insert into zhky."public".sys_user_post(user_id, post_id) values (#{item.userId},#{item.postId})