select id, open_id, identifier, name, phone, sex, age, height, weight, marriage, disease, del_flag, create_time, update_time from t_patient insert into t_patient open_id, identifier, name, phone, sex, age, height, weight, marriage, disease, del_flag, create_time, update_time, #{openId}, #{identifier}, #{name}, #{phone}, #{sex}, #{age}, #{height}, #{weight}, #{marriage}, #{disease}, #{delFlag}, #{createTime}, #{updateTime}, update t_patient open_id = #{openId}, identifier = #{identifier}, name = #{name}, phone = #{phone}, sex = #{sex}, age = #{age}, height = #{height}, weight = #{weight}, marriage = #{marriage}, disease = #{disease}, del_flag = #{delFlag}, create_time = #{createTime}, update_time = #{updateTime}, where id = #{id} update t_patient set del_flag = '2' where id = #{id} delete from t_patient where id in #{id}