select id, open_id, user_id, identifier, name, phone, sex, age, marriage, title, speciality, introduction, medical_license , medical_license2, qr_code, hospital_id, del_flag, create_time, update_time from t_doctor insert into t_doctor open_id, user_id, identifier, name, phone, sex, age, marriage, title, speciality, introduction, medical_license, medical_license2, qr_code, hospital_id, del_flag, create_time, update_time, #{openId}, #{userId}, #{identifier}, #{name}, #{phone}, #{sex}, #{age}, #{marriage}, #{title}, #{speciality}, #{introduction}, #{medicalLicense}, #{medicalLicense2}, #{qrCode}, #{hospitalId}, #{delFlag}, #{createTime}, #{updateTime}, update t_doctor open_id = #{openId}, user_id = #{userId}, identifier = #{identifier}, name = #{name}, phone = #{phone}, sex = #{sex}, age = #{age}, marriage = #{marriage}, title = #{title}, speciality = #{speciality}, introduction = #{introduction}, medical_license = #{medicalLicense}, medical_license2 = #{medicalLicense2}, qr_code = #{qrCode}, hospital_id = #{hospitalId}, del_flag = #{delFlag}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} update t_doctor open_id = #{openId}, identifier = #{identifier}, name = #{name}, phone = #{phone}, sex = #{sex}, age = #{age}, marriage = #{marriage}, title = #{title}, speciality = #{speciality}, introduction = #{introduction}, medical_license = #{medicalLicense}, medical_license2 = #{medicalLicense2}, qr_code = #{qrCode}, hospital_id = #{hospitalId}, del_flag = #{delFlag}, create_time = #{createTime}, update_time = #{updateTime}, where user_id = #{userId} update t_doctor set del_flag = '2',update_time = sysdate() where id = #{id} delete from t_doctor where id in #{id}