INSERT INTO yz_ml_medical_information
name,
user_id,
phone,
unit,
appointment_time,
hospital_name,
offices_name,
doctor_name,
surgical_type,
type,
remarks,
order_id,
created_by,
created_time,
updated_time,
updated_by,
is_deleted,
status,
tenant_id,
cust_id,
#{name},
#{userId},
#{phone},
#{unit},
#{appointmentTime},
#{hospitalName},
#{officesName},
#{doctorName},
#{surgicalType},
#{type},
#{remarks},
#{orderId},
#{createdBy},
#{createdTime},
#{updatedTime},
#{updatedBy},
#{isDeleted},
#{status},
#{tenantId}
#{custId}
update yz_ml_medical_information
name = #{name},
user_id = #{userId},
phone = #{phone},
unit = #{unit},
appointment_time = #{appointmentTime},
hospital_name = #{hospitalName},
offices_name = #{officesName},
doctor_name = #{doctorName},
surgical_type = #{surgicalType},
type = #{type},
remarks = #{remarks},
order_id = #{orderId},
created_by = #{createdBy},
created_time = #{createdTime},
updated_time = #{updatedTime},
updated_by = #{updatedBy},
is_deleted = #{isDeleted},
status = #{status},
tenant_id = #{tenantId},
cust_id = #{custId},
where id = #{id}
delete from yz_ml_medical_information where id = #{id}