insert into follow_doctor(follow_doctor_id, user_id, registration_information_id)
values (#{followDoctorId}, #{userId}, #{registrationInformationId})
insert into historical_consultation(patient_id, registration_information_id,
historical_consultation_status)
values (#{patientId}, #{registrationInformationId}, 2)
insert into patient_evaluator(patient_id, registration_information_id,
comment_content, comment_time)
values (#{patientId},
#{registrationInformationId, #{commentContent, #{commentTime})
update user
set user_money=#{patientMoney}
where user_id = #{userId}
update user
set user_money=#{doctorMoney}
where user_id = #{userId}
delete
from follow_doctor
where registration_information_id = #{registrationInformationId}