select id, procreate, gestation_illnesses, family_history, surgical_history, birth_age, birth_weight, out_correct_age, out_weight, allergy, feed, pid
from medical_history_bady
insert into medical_history_bady
procreate,
gestation_illnesses,
family_history,
surgical_history,
birth_age,
birth_weight,
out_correct_age,
out_weight,
allergy,
feed,
pid,
#{procreate},
#{gestationIllnesses},
#{familyHistory},
#{surgicalHistory},
#{birthAge},
#{birthWeight},
#{outCorrectAge},
#{outWeight},
#{allergy},
#{feed},
#{pid},
update medical_history_bady
procreate =
#{procreate},
gestation_illnesses =
#{gestationIllnesses},
family_history =
#{familyHistory},
surgical_history =
#{surgicalHistory},
birth_age =
#{birthAge},
birth_weight =
#{birthWeight},
out_correct_age =
#{outCorrectAge},
out_weight =
#{outWeight},
allergy =
#{allergy},
feed =
#{feed},
pid =
#{pid},
where id = #{id}
update medical_history_bady
del_flag =1
where id = #{id}
update medical_history_bady
del_flag =1
where id in
#{id}