update course_user set update_time =#{courseUser.updateTime} delete from course_user where order_id in (select orders_id from orders where user_id= #{userId} and pay_way=5 and status=1)