select id, patient_type, student_id,AES_DECRYPT(UNHEX(id_card),'zhxg') as id_card , name, gender, age, major, class_info, phone, counselor, department, create_by, create_time, update_by, update_time from healthcare_os_patient_info
insert into healthcare_os_patient_info
patient_type,
student_id,
name,
gender,
age,
major,
class_info,
phone,
counselor,
department,
create_by,
create_time,
update_by,
update_time,
id_card,
#{patientType},
#{studentId},
#{name},
#{gender},
#{age},
#{major},
#{classInfo},
#{phone},
#{counselor},
#{department},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{idCard},
update healthcare_os_patient_info
patient_type = #{patientType},
student_id = #{studentId},
name = #{name},
gender = #{gender},
age = #{age},
major = #{major},
class_info = #{classInfo},
phone = #{phone},
counselor = #{counselor},
department = #{department},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
id_card = #{idCard},
where id = #{id}
delete from healthcare_os_patient_info where id = #{id}
delete from healthcare_os_patient_info where id in
#{id}