|
@@ -456,376 +456,129 @@
|
|
|
<foreach collection="list" item="item" separator=";">
|
|
|
update med_home_page
|
|
|
<set>
|
|
|
- <if test="item.hospitalCode != null">
|
|
|
hospital_code = #{item.hospitalCode},
|
|
|
- </if>
|
|
|
- <if test="item.hospitalName != null">
|
|
|
hospital_name = #{item.hospitalName},
|
|
|
- </if>
|
|
|
- <if test="item.orgCode != null">
|
|
|
org_code = #{item.orgCode},
|
|
|
- </if>
|
|
|
- <if test="item.payType != null">
|
|
|
pay_type = #{item.payType},
|
|
|
- </if>
|
|
|
- <if test="item.healthCard != null">
|
|
|
health_card = #{item.healthCard},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalNum != null">
|
|
|
behospital_num = #{item.behospitalNum},
|
|
|
- </if>
|
|
|
- <if test="item.fileCode != null">
|
|
|
file_code = #{item.fileCode},
|
|
|
- </if>
|
|
|
- <if test="item.name != null">
|
|
|
name = #{item.name},
|
|
|
- </if>
|
|
|
- <if test="item.sex != null">
|
|
|
sex = #{item.sex},
|
|
|
- </if>
|
|
|
- <if test="item.birthday != null">
|
|
|
birthday = #{item.birthday},
|
|
|
- </if>
|
|
|
- <if test="item.age != null">
|
|
|
age = #{item.age},
|
|
|
- </if>
|
|
|
- <if test="item.ageUnit != null">
|
|
|
age_unit = #{item.ageUnit},
|
|
|
- </if>
|
|
|
- <if test="item.nationality != null">
|
|
|
nationality = #{item.nationality},
|
|
|
- </if>
|
|
|
- <if test="item.newbornMonth != null">
|
|
|
newborn_month = #{item.newbornMonth},
|
|
|
- </if>
|
|
|
- <if test="item.newbornDay != null">
|
|
|
newborn_day = #{item.newbornDay},
|
|
|
- </if>
|
|
|
- <if test="item.newbornWeight != null">
|
|
|
newborn_weight = #{item.newbornWeight},
|
|
|
- </if>
|
|
|
- <if test="item.newbornBehospitalWeight != null">
|
|
|
newborn_behospital_weight = #{item.newbornBehospitalWeight},
|
|
|
- </if>
|
|
|
- <if test="item.bornAddress != null">
|
|
|
born_address = #{item.bornAddress},
|
|
|
- </if>
|
|
|
- <if test="item.bornPlace != null">
|
|
|
born_place = #{item.bornPlace},
|
|
|
- </if>
|
|
|
- <if test="item.nation != null">
|
|
|
nation = #{item.nation},
|
|
|
- </if>
|
|
|
- <if test="item.identityCardNo != null">
|
|
|
identity_card_no = #{item.identityCardNo},
|
|
|
- </if>
|
|
|
- <if test="item.jobType != null">
|
|
|
job_type = #{item.jobType},
|
|
|
- </if>
|
|
|
- <if test="item.marriage != null">
|
|
|
marriage = #{item.marriage},
|
|
|
- </if>
|
|
|
- <if test="item.curAddress != null">
|
|
|
cur_address = #{item.curAddress},
|
|
|
- </if>
|
|
|
- <if test="item.curPhone != null">
|
|
|
cur_phone = #{item.curPhone},
|
|
|
- </if>
|
|
|
- <if test="item.curPostCode != null">
|
|
|
cur_post_code = #{item.curPostCode},
|
|
|
- </if>
|
|
|
- <if test="item.residenceAddress != null">
|
|
|
residence_address = #{item.residenceAddress},
|
|
|
- </if>
|
|
|
- <if test="item.residencePostCode != null">
|
|
|
residence_post_code = #{item.residencePostCode},
|
|
|
- </if>
|
|
|
- <if test="item.workAddress != null">
|
|
|
work_address = #{item.workAddress},
|
|
|
- </if>
|
|
|
- <if test="item.workPhone != null">
|
|
|
work_phone = #{item.workPhone},
|
|
|
- </if>
|
|
|
- <if test="item.workPostCode != null">
|
|
|
work_post_code = #{item.workPostCode},
|
|
|
- </if>
|
|
|
- <if test="item.contactName != null">
|
|
|
contact_name = #{item.contactName},
|
|
|
- </if>
|
|
|
- <if test="item.contactRelation != null">
|
|
|
contact_relation = #{item.contactRelation},
|
|
|
- </if>
|
|
|
- <if test="item.contactAddress != null">
|
|
|
contact_address = #{item.contactAddress},
|
|
|
- </if>
|
|
|
- <if test="item.contactPhone != null">
|
|
|
contact_phone = #{item.contactPhone},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalWay != null">
|
|
|
behospital_way = #{item.behospitalWay},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalDate != null">
|
|
|
behospital_date = #{item.behospitalDate},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalDept != null">
|
|
|
behospital_dept = #{item.behospitalDept},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalWard != null">
|
|
|
behospital_ward = #{item.behospitalWard},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalBedId != null">
|
|
|
behospital_bed_id = #{item.behospitalBedId},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalBedCode != null">
|
|
|
behospital_bed_code = #{item.behospitalBedCode},
|
|
|
- </if>
|
|
|
- <if test="item.changeDept != null">
|
|
|
change_dept = #{item.changeDept},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalDate != null">
|
|
|
leave_hospital_date = #{item.leaveHospitalDate},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalDept != null">
|
|
|
leave_hospital_dept = #{item.leaveHospitalDept},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalWard != null">
|
|
|
leave_hospital_ward = #{item.leaveHospitalWard},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalBedId != null">
|
|
|
leave_hospital_bed_id = #{item.leaveHospitalBedId},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalBedCode != null">
|
|
|
leave_hospital_bed_code = #{item.leaveHospitalBedCode},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalDayNum != null">
|
|
|
behospital_day_num = #{item.behospitalDayNum},
|
|
|
- </if>
|
|
|
- <if test="item.outpatientEmrDiagnose != null">
|
|
|
outpatient_emr_diagnose = #{item.outpatientEmrDiagnose},
|
|
|
- </if>
|
|
|
- <if test="item.outpatientEmrDiagnoseCode != null">
|
|
|
outpatient_emr_diagnose_code = #{item.outpatientEmrDiagnoseCode},
|
|
|
- </if>
|
|
|
- <if test="item.poisonFactor != null">
|
|
|
poison_factor = #{item.poisonFactor},
|
|
|
- </if>
|
|
|
- <if test="item.poisonFactorCode != null">
|
|
|
poison_factor_code = #{item.poisonFactorCode},
|
|
|
- </if>
|
|
|
- <if test="item.pathologyDiagnose != null">
|
|
|
pathology_diagnose = #{item.pathologyDiagnose},
|
|
|
- </if>
|
|
|
- <if test="item.pathologyDiagnoseCode != null">
|
|
|
pathology_diagnose_code = #{item.pathologyDiagnoseCode},
|
|
|
- </if>
|
|
|
- <if test="item.pathologyDiagnoseId != null">
|
|
|
pathology_diagnose_id = #{item.pathologyDiagnoseId},
|
|
|
- </if>
|
|
|
- <if test="item.isMedAllergy != null">
|
|
|
is_med_allergy = #{item.isMedAllergy},
|
|
|
- </if>
|
|
|
- <if test="item.medAllergyName != null">
|
|
|
med_allergy_name = #{item.medAllergyName},
|
|
|
- </if>
|
|
|
- <if test="item.autopsy != null">
|
|
|
autopsy = #{item.autopsy},
|
|
|
- </if>
|
|
|
- <if test="item.bloodType != null">
|
|
|
blood_type = #{item.bloodType},
|
|
|
- </if>
|
|
|
- <if test="item.rh != null">
|
|
|
rh = #{item.rh},
|
|
|
- </if>
|
|
|
- <if test="item.deptDirector != null">
|
|
|
dept_director = #{item.deptDirector},
|
|
|
- </if>
|
|
|
- <if test="item.directorDoctor != null">
|
|
|
director_doctor = #{item.directorDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.attendingDoctor != null">
|
|
|
attending_doctor = #{item.attendingDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.behospitalDoctor != null">
|
|
|
behospital_doctor = #{item.behospitalDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.responseNurse != null">
|
|
|
response_nurse = #{item.responseNurse},
|
|
|
- </if>
|
|
|
- <if test="item.studyDoctor != null">
|
|
|
study_doctor = #{item.studyDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.practiceDoctor != null">
|
|
|
practice_doctor = #{item.practiceDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.encodeMan != null">
|
|
|
encode_man = #{item.encodeMan},
|
|
|
- </if>
|
|
|
- <if test="item.homePageQuality != null">
|
|
|
home_page_quality = #{item.homePageQuality},
|
|
|
- </if>
|
|
|
- <if test="item.qcDoctor != null">
|
|
|
qc_doctor = #{item.qcDoctor},
|
|
|
- </if>
|
|
|
- <if test="item.qcNurse != null">
|
|
|
qc_nurse = #{item.qcNurse},
|
|
|
- </if>
|
|
|
- <if test="item.qcDate != null">
|
|
|
qc_date = #{item.qcDate},
|
|
|
- </if>
|
|
|
- <if test="item.leaveHospitalType != null">
|
|
|
leave_hospital_type = #{item.leaveHospitalType},
|
|
|
- </if>
|
|
|
- <if test="item.acceptOrgCode != null">
|
|
|
accept_org_code = #{item.acceptOrgCode},
|
|
|
- </if>
|
|
|
- <if test="item.againBehospitalPlan != null">
|
|
|
again_behospital_plan = #{item.againBehospitalPlan},
|
|
|
- </if>
|
|
|
- <if test="item.againBehospitalGoal != null">
|
|
|
again_behospital_goal = #{item.againBehospitalGoal},
|
|
|
- </if>
|
|
|
- <if test="item.tbiBeforeDay != null">
|
|
|
tbi_before_day = #{item.tbiBeforeDay},
|
|
|
- </if>
|
|
|
- <if test="item.tbiBeforeHour != null">
|
|
|
tbi_before_hour = #{item.tbiBeforeHour},
|
|
|
- </if>
|
|
|
- <if test="item.tbiBeforeMinute != null">
|
|
|
tbi_before_minute = #{item.tbiBeforeMinute},
|
|
|
- </if>
|
|
|
- <if test="item.tbiAfterDay != null">
|
|
|
tbi_after_day = #{item.tbiAfterDay},
|
|
|
- </if>
|
|
|
- <if test="item.tbiAfterHour != null">
|
|
|
tbi_after_hour = #{item.tbiAfterHour},
|
|
|
- </if>
|
|
|
- <if test="item.tbiAfterMinute != null">
|
|
|
tbi_after_minute = #{item.tbiAfterMinute},
|
|
|
- </if>
|
|
|
- <if test="item.totalFee != null">
|
|
|
total_fee = #{item.totalFee},
|
|
|
- </if>
|
|
|
- <if test="item.ownFee != null">
|
|
|
own_fee = #{item.ownFee},
|
|
|
- </if>
|
|
|
- <if test="item.generalFee != null">
|
|
|
general_fee = #{item.generalFee},
|
|
|
- </if>
|
|
|
- <if test="item.serviceFee != null">
|
|
|
service_fee = #{item.serviceFee},
|
|
|
- </if>
|
|
|
- <if test="item.nurseFee != null">
|
|
|
nurse_fee = #{item.nurseFee},
|
|
|
- </if>
|
|
|
- <if test="item.otherFee != null">
|
|
|
other_fee = #{item.otherFee},
|
|
|
- </if>
|
|
|
- <if test="item.pathologyFee != null">
|
|
|
pathology_fee = #{item.pathologyFee},
|
|
|
- </if>
|
|
|
- <if test="item.labFee != null">
|
|
|
lab_fee = #{item.labFee},
|
|
|
- </if>
|
|
|
- <if test="item.pacsFee != null">
|
|
|
pacs_fee = #{item.pacsFee},
|
|
|
- </if>
|
|
|
- <if test="item.clinicDiagnoseFee != null">
|
|
|
clinic_diagnose_fee = #{item.clinicDiagnoseFee},
|
|
|
- </if>
|
|
|
- <if test="item.notOperationFee != null">
|
|
|
not_operation_fee = #{item.notOperationFee},
|
|
|
- </if>
|
|
|
- <if test="item.clinicPhysicFee != null">
|
|
|
clinic_physic_fee = #{item.clinicPhysicFee},
|
|
|
- </if>
|
|
|
- <if test="item.operationTreatFee != null">
|
|
|
operation_treat_fee = #{item.operationTreatFee},
|
|
|
- </if>
|
|
|
- <if test="item.anaesthesiaFee != null">
|
|
|
anaesthesia_fee = #{item.anaesthesiaFee},
|
|
|
- </if>
|
|
|
- <if test="item.operationFee != null">
|
|
|
operation_fee = #{item.operationFee},
|
|
|
- </if>
|
|
|
- <if test="item.healthTypeFee != null">
|
|
|
health_type_fee = #{item.healthTypeFee},
|
|
|
- </if>
|
|
|
- <if test="item.chnTreatFee != null">
|
|
|
chn_treat_fee = #{item.chnTreatFee},
|
|
|
- </if>
|
|
|
- <if test="item.westernMedFee != null">
|
|
|
western_med_fee = #{item.westernMedFee},
|
|
|
- </if>
|
|
|
- <if test="item.antibiosisFee != null">
|
|
|
antibiosis_fee = #{item.antibiosisFee},
|
|
|
- </if>
|
|
|
- <if test="item.chnMedFee != null">
|
|
|
chn_med_fee = #{item.chnMedFee},
|
|
|
- </if>
|
|
|
- <if test="item.chnHerbFee != null">
|
|
|
chn_herb_fee = #{item.chnHerbFee},
|
|
|
- </if>
|
|
|
- <if test="item.bloodFee != null">
|
|
|
blood_fee = #{item.bloodFee},
|
|
|
- </if>
|
|
|
- <if test="item.albumenFee != null">
|
|
|
albumen_fee = #{item.albumenFee},
|
|
|
- </if>
|
|
|
- <if test="item.globulinFee != null">
|
|
|
globulin_fee = #{item.globulinFee},
|
|
|
- </if>
|
|
|
- <if test="item.bloodFactorFee != null">
|
|
|
blood_factor_fee = #{item.bloodFactorFee},
|
|
|
- </if>
|
|
|
- <if test="item.cellFactorFee != null">
|
|
|
cell_factor_fee = #{item.cellFactorFee},
|
|
|
- </if>
|
|
|
- <if test="item.checkMaterialFee != null">
|
|
|
check_material_fee = #{item.checkMaterialFee},
|
|
|
- </if>
|
|
|
- <if test="item.treatMaterialFee != null">
|
|
|
treat_material_fee = #{item.treatMaterialFee},
|
|
|
- </if>
|
|
|
- <if test="item.operationMaterialFee != null">
|
|
|
operation_material_fee = #{item.operationMaterialFee},
|
|
|
- </if>
|
|
|
- <if test="item.otherTypeFee != null">
|
|
|
other_type_fee = #{item.otherTypeFee},
|
|
|
- </if>
|
|
|
- <if test="item.singleDiagManage != null">
|
|
|
single_diag_manage = #{item.singleDiagManage},
|
|
|
- </if>
|
|
|
- <if test="item.clinicPathwayManage != null">
|
|
|
clinic_pathway_manage = #{item.clinicPathwayManage},
|
|
|
- </if>
|
|
|
- <if test="item.isOutpatientBehospital != null">
|
|
|
is_outpatient_behospital = #{item.isOutpatientBehospital},
|
|
|
- </if>
|
|
|
- <if test="item.isLeaveBehospital != null">
|
|
|
is_leave_behospital = #{item.isLeaveBehospital},
|
|
|
- </if>
|
|
|
- <if test="item.isOperationBeforeAfter != null">
|
|
|
is_operation_before_after = #{item.isOperationBeforeAfter},
|
|
|
- </if>
|
|
|
- <if test="item.isClinicPathology != null">
|
|
|
is_clinic_pathology = #{item.isClinicPathology},
|
|
|
- </if>
|
|
|
- <if test="item.isRadiatePathology != null">
|
|
|
is_radiate_pathology = #{item.isRadiatePathology},
|
|
|
- </if>
|
|
|
- <if test="item.rescueNum != null">
|
|
|
rescue_num = #{item.rescueNum},
|
|
|
- </if>
|
|
|
- <if test="item.rescueSuccessNum != null">
|
|
|
rescue_success_num = #{item.rescueSuccessNum},
|
|
|
- </if>
|
|
|
- <if test="item.isAutoLeavehospital != null">
|
|
|
is_auto_leavehospital = #{item.isAutoLeavehospital},
|
|
|
- </if>
|
|
|
- <if test="item.returnToType != null">
|
|
|
return_to_type = #{item.returnToType},
|
|
|
- </if>
|
|
|
-
|
|
|
<if test="item.gmtModified != null">
|
|
|
gmt_modified = #{item.gmtModified},
|
|
|
</if>
|