diff --git a/platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDiagnosisMapper.xml b/platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDiagnosisMapper.xml index 825e95d..fdf3273 100644 --- a/platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDiagnosisMapper.xml +++ b/platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDiagnosisMapper.xml @@ -37,7 +37,6 @@ - @@ -53,8 +52,51 @@ @@ -62,7 +104,13 @@ - - insert into baby_autism_diagnosis(id,created, created_str, modified, modified_str, yn, operater_id, hospital_id, baby_id, baby_build_date, baby_build_date_str, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, birth_str, check_time, check_time_str, next_check_time, next_check_time_str, doctor, doctor_sign, patient_sign, check_hospital, display_state, errormsg, check_doctor, medical_history_inquiry, behavioral_observation, physical_examination, c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, comorbid_disease, comorbid_disease_res, rehabilitation_advice, rehabilitation_advice_res) - values (#{id},#{created}, #{createdStr}, #{modified}, #{modifiedStr}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyBuildDateStr}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{birthStr}, #{checkTime}, #{checkTimeStr}, #{nextCheckTime}, #{nextCheckTimeStr}, #{doctor}, #{doctorSign}, #{patientSign}, #{checkHospital}, #{displayState}, #{errormsg}, #{checkDoctor}, #{medicalHistoryInquiry}, #{behavioralObservation}, #{physicalExamination}, #{cARSScale}, #{otherScales}, #{auxiliaryInspection}, #{diagnosticResult}, #{comorbidDisease}, #{comorbidDiseaseRes}, #{rehabilitationAdvice}, #{rehabilitationAdviceRes}) + + insert into baby_autism_diagnosis(id, created, created_str, modified, modified_str, yn, operater_id, + hospital_id, baby_id, baby_build_date, baby_build_date_str, baby_name, + baby_sex, baby_m_name, baby_f_name, baby_m_phone, baby_f_phone, + baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, + birth_str, check_time, check_time_str, next_check_time, next_check_time_str, + doctor, doctor_sign, patient_sign, check_hospital, display_state, errormsg, + medical_history_inquiry, behavioral_observation, physical_examination, + c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, + comorbid_disease, comorbid_disease_res, rehabilitation_advice, + rehabilitation_advice_res) + values (#{id}, #{created}, #{createdStr}, #{modified}, #{modifiedStr}, #{yn}, #{operaterId}, #{hospitalId}, + #{babyId}, #{babyBuildDate}, #{babyBuildDateStr}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, + #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, + #{birth}, #{birthStr}, #{checkTime}, #{checkTimeStr}, #{nextCheckTime}, #{nextCheckTimeStr}, #{doctor}, + #{doctorSign}, #{patientSign}, #{checkHospital}, #{displayState}, #{errormsg}, + #{medicalHistoryInquiry}, #{behavioralObservation}, #{physicalExamination}, #{cARSScale}, + #{otherScales}, #{auxiliaryInspection}, #{diagnosticResult}, #{comorbidDisease}, #{comorbidDiseaseRes}, + #{rehabilitationAdvice}, #{rehabilitationAdviceRes}) - - insert into baby_autism_diagnosis(id,created, created_str, modified, modified_str, yn, operater_id, hospital_id, baby_id, baby_build_date, baby_build_date_str, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, birth_str, check_time, check_time_str, next_check_time, next_check_time_str, doctor, doctor_sign, patient_sign, check_hospital, display_state, errormsg, check_doctor, medical_history_inquiry, behavioral_observation, physical_examination, c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, comorbid_disease, comorbid_disease_res, rehabilitation_advice, rehabilitation_advice_res) + + insert into baby_autism_diagnosis(id,created, created_str, modified, modified_str, yn, operater_id, hospital_id, + baby_id, baby_build_date, baby_build_date_str, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, + baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, birth_str, + check_time, check_time_str, next_check_time, next_check_time_str, doctor, doctor_sign, patient_sign, + check_hospital, display_state, errormsg, medical_history_inquiry, behavioral_observation, physical_examination, + c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, comorbid_disease, comorbid_disease_res, + rehabilitation_advice, rehabilitation_advice_res) values - (#{entity.id},#{entity.created}, #{entity.createdStr}, #{entity.modified}, #{entity.modifiedStr}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{entity.babyBuildDateStr}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.birthStr}, #{entity.checkTime}, #{entity.checkTimeStr}, #{entity.nextCheckTime}, #{entity.nextCheckTimeStr}, #{entity.doctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.checkHospital}, #{entity.displayState}, #{entity.errormsg}, #{entity.checkDoctor}, #{entity.medicalHistoryInquiry}, #{entity.behavioralObservation}, #{entity.physicalExamination}, #{entity.cARSScale}, #{entity.otherScales}, #{entity.auxiliaryInspection}, #{entity.diagnosticResult}, #{entity.comorbidDisease}, #{entity.comorbidDiseaseRes}, #{entity.rehabilitationAdvice}, #{entity.rehabilitationAdviceRes}) + (#{entity.id},#{entity.created}, #{entity.createdStr}, #{entity.modified}, #{entity.modifiedStr}, + #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, + #{entity.babyBuildDateStr}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, + #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, + #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.birthStr}, #{entity.checkTime}, + #{entity.checkTimeStr}, #{entity.nextCheckTime}, #{entity.nextCheckTimeStr}, #{entity.doctor}, + #{entity.doctorSign}, #{entity.patientSign}, #{entity.checkHospital}, #{entity.displayState}, + #{entity.errormsg}, #{entity.medicalHistoryInquiry}, #{entity.behavioralObservation}, + #{entity.physicalExamination}, #{entity.cARSScale}, #{entity.otherScales}, #{entity.auxiliaryInspection}, + #{entity.diagnosticResult}, #{entity.comorbidDisease}, #{entity.comorbidDiseaseRes}, + #{entity.rehabilitationAdvice}, #{entity.rehabilitationAdviceRes}) - - insert into baby_autism_diagnosis(id,created, created_str, modified, modified_str, yn, operater_id, hospital_id, baby_id, baby_build_date, baby_build_date_str, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, birth_str, check_time, check_time_str, next_check_time, next_check_time_str, doctor, doctor_sign, patient_sign, check_hospital, display_state, errormsg, check_doctor, medical_history_inquiry, behavioral_observation, physical_examination, c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, comorbid_disease, comorbid_disease_res, rehabilitation_advice, rehabilitation_advice_res) + + insert into baby_autism_diagnosis(id,created, created_str, modified, modified_str, yn, operater_id, hospital_id, + baby_id, baby_build_date, baby_build_date_str, baby_name, baby_sex, baby_m_name, baby_f_name, baby_m_phone, + baby_f_phone, baby_m_cert_no, baby_f_cert_no, pid, check_month_age, check_month_id, birth, birth_str, + check_time, check_time_str, next_check_time, next_check_time_str, doctor, doctor_sign, patient_sign, + check_hospital, display_state, errormsg, medical_history_inquiry, behavioral_observation, + physical_examination, c_a_r_s_scale, other_scales, auxiliary_inspection, diagnostic_result, comorbid_disease, + comorbid_disease_res, rehabilitation_advice, rehabilitation_advice_res) values - (#{entity.id},#{entity.created}, #{entity.createdStr}, #{entity.modified}, #{entity.modifiedStr}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{entity.babyBuildDateStr}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.birthStr}, #{entity.checkTime}, #{entity.checkTimeStr}, #{entity.nextCheckTime}, #{entity.nextCheckTimeStr}, #{entity.doctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.checkHospital}, #{entity.displayState}, #{entity.errormsg}, #{entity.checkDoctor}, #{entity.medicalHistoryInquiry}, #{entity.behavioralObservation}, #{entity.physicalExamination}, #{entity.cARSScale}, #{entity.otherScales}, #{entity.auxiliaryInspection}, #{entity.diagnosticResult}, #{entity.comorbidDisease}, #{entity.comorbidDiseaseRes}, #{entity.rehabilitationAdvice}, #{entity.rehabilitationAdviceRes}) + (#{entity.id},#{entity.created}, #{entity.createdStr}, #{entity.modified}, #{entity.modifiedStr}, + #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, + #{entity.babyBuildDateStr}, #{entity.babyName}, #{entity.babySex}, #{entity.babyMName}, #{entity.babyFName}, + #{entity.babyMPhone}, #{entity.babyFPhone}, #{entity.babyMCertNo}, #{entity.babyFCertNo}, #{entity.pid}, + #{entity.checkMonthAge}, #{entity.checkMonthId}, #{entity.birth}, #{entity.birthStr}, #{entity.checkTime}, + #{entity.checkTimeStr}, #{entity.nextCheckTime}, #{entity.nextCheckTimeStr}, #{entity.doctor}, + #{entity.doctorSign}, #{entity.patientSign}, #{entity.checkHospital}, #{entity.displayState}, + #{entity.errormsg}, #{entity.medicalHistoryInquiry}, #{entity.behavioralObservation}, + #{entity.physicalExamination}, #{entity.cARSScale}, #{entity.otherScales}, #{entity.auxiliaryInspection}, + #{entity.diagnosticResult}, #{entity.comorbidDisease}, #{entity.comorbidDiseaseRes}, + #{entity.rehabilitationAdvice}, #{entity.rehabilitationAdviceRes}) on duplicate key update created = values(created), @@ -415,7 +511,6 @@ check_hospital = values(check_hospital), display_state = values(display_state), errormsg = values(errormsg), - check_doctor = values(check_doctor), medical_history_inquiry = values(medical_history_inquiry), behavioral_observation = values(behavioral_observation), physical_examination = values(physical_examination), @@ -532,9 +627,7 @@ errormsg = #{errormsg}, - - check_doctor = #{checkDoctor}, - + medical_history_inquiry = #{medicalHistoryInquiry}, @@ -574,7 +667,9 @@ - delete from baby_autism_diagnosis where id = #{id} + delete + from baby_autism_diagnosis + where id = #{id}