select id, complaint_name, current_history, past_history, diagnosis, medical_advice, create_by, create_time, update_by, update_time from healthcare_os_complaints insert into healthcare_os_complaints complaint_name, current_history, past_history, diagnosis, medical_advice, create_by, create_time, update_by, update_time, #{complaintName}, #{currentHistory}, #{pastHistory}, #{diagnosis}, #{medicalAdvice}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update healthcare_os_complaints complaint_name = #{complaintName}, current_history = #{currentHistory}, past_history = #{pastHistory}, diagnosis = #{diagnosis}, medical_advice = #{medicalAdvice}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from healthcare_os_complaints where id = #{id} delete from healthcare_os_complaints where id in #{id}