Commit b1500144004af4d438be54d24d5fd484dec82ea9
1 parent
e0358725cd
Exists in
master
and in
4 other branches
孤独症初筛名字
Showing 2 changed files with 24 additions and 24 deletions
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDoubleSievingDao.xml
View file @
b150014
| ... | ... | @@ -361,24 +361,24 @@ |
| 361 | 361 | </select> |
| 362 | 362 | |
| 363 | 363 | <!--新增所有列--> |
| 364 | - <insert id="insert" keyProperty="id" useGeneratedKeys="true"> | |
| 365 | - insert into baby_autism_double_sieving(created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 366 | - values (#{created}, #{modified}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{checkTime}, #{nextCheckTime}, #{checkDoctor}, #{doctorSign}, #{patientSign}, #{preliminaryScreeningResults}, #{preliminaryScreeningResultsFailedProject}, #{medicalHistoryName}, #{medicalHistoryRemark}, #{developerQuotient}, #{bigMovement}, #{fineMotion}, #{adaptability}, #{languageNum}, #{socialBehavior}, #{pediatricHeartScaleAssessMentresults}, #{coreProjectNum}, #{positivetNum}, #{screeningScaleMentresults}, #{behaviorRatingScaleTotal}, #{feelNum}, #{socialInteractionNum}, #{bodyMovementNum}, #{behaviorRatingLanguageNum}, #{selfCareInDailyLifeNum}, #{behaviorRatingScaleAssessMentresults}, #{rescreenResults}) | |
| 364 | + <insert id="insert" > | |
| 365 | + insert into baby_autism_double_sieving(id,created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 366 | + values (#{id},#{created}, #{modified}, #{yn}, #{operaterId}, #{hospitalId}, #{babyId}, #{babyBuildDate}, #{babyName}, #{babySex}, #{babyMName}, #{babyFName}, #{babyMPhone}, #{babyFPhone}, #{babyMCertNo}, #{babyFCertNo}, #{pid}, #{checkMonthAge}, #{checkMonthId}, #{birth}, #{checkTime}, #{nextCheckTime}, #{checkDoctor}, #{doctorSign}, #{patientSign}, #{preliminaryScreeningResults}, #{preliminaryScreeningResultsFailedProject}, #{medicalHistoryName}, #{medicalHistoryRemark}, #{developerQuotient}, #{bigMovement}, #{fineMotion}, #{adaptability}, #{languageNum}, #{socialBehavior}, #{pediatricHeartScaleAssessMentresults}, #{coreProjectNum}, #{positivetNum}, #{screeningScaleMentresults}, #{behaviorRatingScaleTotal}, #{feelNum}, #{socialInteractionNum}, #{bodyMovementNum}, #{behaviorRatingLanguageNum}, #{selfCareInDailyLifeNum}, #{behaviorRatingScaleAssessMentresults}, #{rescreenResults}) | |
| 367 | 367 | </insert> |
| 368 | 368 | |
| 369 | - <insert id="insertBatch" keyProperty="id" useGeneratedKeys="true"> | |
| 370 | - insert into baby_autism_double_sieving(created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 369 | + <insert id="insertBatch" > | |
| 370 | + insert into baby_autism_double_sieving(id,created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 371 | 371 | values |
| 372 | 372 | <foreach collection="entities" item="entity" separator=","> |
| 373 | - (#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{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.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistoryName}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults}) | |
| 373 | + (#{id},#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{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.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistoryName}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults}) | |
| 374 | 374 | </foreach> |
| 375 | 375 | </insert> |
| 376 | 376 | |
| 377 | - <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true"> | |
| 378 | - insert into baby_autism_double_sieving(created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 377 | + <insert id="insertOrUpdateBatch" > | |
| 378 | + insert into baby_autism_double_sieving(id,created, modified, yn, operater_id, hospital_id, baby_id, baby_build_date, 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, check_time, next_check_time, check_doctor, doctor_sign, patient_sign, preliminary_screening_results, preliminary_screening_results_failed_project, medical_history, medical_history_remark, developer_quotient, big_movement, fine_motion, adaptability, language_num, social_behavior, pediatric_heart_scale_assess_mentresults, core_project_num, positivet_num, screening_scale_mentresults, behavior_rating_scale_total, feel_num, social_interaction_num, body_movement_num, behavior_rating_language_num, self_care_in_daily_life_num, behavior_rating_scale_assess_mentresults, rescreen_results) | |
| 379 | 379 | values |
| 380 | 380 | <foreach collection="entities" item="entity" separator=","> |
| 381 | - (#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{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.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistoryName}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults}) | |
| 381 | + (#{id},#{entity.created}, #{entity.modified}, #{entity.yn}, #{entity.operaterId}, #{entity.hospitalId}, #{entity.babyId}, #{entity.babyBuildDate}, #{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.checkTime}, #{entity.nextCheckTime}, #{entity.checkDoctor}, #{entity.doctorSign}, #{entity.patientSign}, #{entity.preliminaryScreeningResults}, #{entity.preliminaryScreeningResultsFailedProject}, #{entity.medicalHistoryName}, #{entity.medicalHistoryRemark}, #{entity.developerQuotient}, #{entity.bigMovement}, #{entity.fineMotion}, #{entity.adaptability}, #{entity.languageNum}, #{entity.socialBehavior}, #{entity.pediatricHeartScaleAssessMentresults}, #{entity.coreProjectNum}, #{entity.positivetNum}, #{entity.screeningScaleMentresults}, #{entity.behaviorRatingScaleTotal}, #{entity.feelNum}, #{entity.socialInteractionNum}, #{entity.bodyMovementNum}, #{entity.behaviorRatingLanguageNum}, #{entity.selfCareInDailyLifeNum}, #{entity.behaviorRatingScaleAssessMentresults}, #{entity.rescreenResults}) | |
| 382 | 382 | </foreach> |
| 383 | 383 | on duplicate key update |
| 384 | 384 | created = values(created), |
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismPrimaryScreeningMapper.xml
View file @
b150014
| ... | ... | @@ -310,49 +310,49 @@ |
| 310 | 310 | <update id="update"> |
| 311 | 311 | update baby_autism_primary_screening |
| 312 | 312 | <set> |
| 313 | - <if test="created != null and created != ''"> | |
| 313 | + <if test="created != null "> | |
| 314 | 314 | created = #{created}, |
| 315 | 315 | </if> |
| 316 | - <if test="modified != null and modified != ''"> | |
| 316 | + <if test="modified != null"> | |
| 317 | 317 | modified = #{modified}, |
| 318 | 318 | </if> |
| 319 | 319 | <if test="yn != null"> |
| 320 | 320 | yn = #{yn}, |
| 321 | 321 | </if> |
| 322 | - <if test="operaterId != null and operaterId != ''"> | |
| 322 | + <if test="operaterId != null "> | |
| 323 | 323 | operater_id = #{operaterId}, |
| 324 | 324 | </if> |
| 325 | - <if test="hospitalId != null and hospitalId != ''"> | |
| 325 | + <if test="hospitalId != null "> | |
| 326 | 326 | hospital_id = #{hospitalId}, |
| 327 | 327 | </if> |
| 328 | - <if test="babyId != null and babyId != ''"> | |
| 328 | + <if test="babyId != null "> | |
| 329 | 329 | baby_id = #{babyId}, |
| 330 | 330 | </if> |
| 331 | - <if test="babyBuildDate != null and babyBuildDate != ''"> | |
| 331 | + <if test="babyBuildDate != null "> | |
| 332 | 332 | baby_build_date = #{babyBuildDate}, |
| 333 | 333 | </if> |
| 334 | - <if test="babyName != null and babyName != ''"> | |
| 334 | + <if test="babyName != null "> | |
| 335 | 335 | baby_name = #{babyName}, |
| 336 | 336 | </if> |
| 337 | 337 | <if test="babySex != null"> |
| 338 | 338 | baby_sex = #{babySex}, |
| 339 | 339 | </if> |
| 340 | - <if test="babyMName != null and babyMName != ''"> | |
| 340 | + <if test="babyMName != null "> | |
| 341 | 341 | baby_m_name = #{babyMName}, |
| 342 | 342 | </if> |
| 343 | - <if test="babyFName != null and babyFName != ''"> | |
| 343 | + <if test="babyFName != null "> | |
| 344 | 344 | baby_f_name = #{babyFName}, |
| 345 | 345 | </if> |
| 346 | - <if test="babyMPhone != null and babyMPhone != ''"> | |
| 346 | + <if test="babyMPhone != null "> | |
| 347 | 347 | baby_m_phone = #{babyMPhone}, |
| 348 | 348 | </if> |
| 349 | - <if test="babyFPhone != null and babyFPhone != ''"> | |
| 349 | + <if test="babyFPhone != null "> | |
| 350 | 350 | baby_f_phone = #{babyFPhone}, |
| 351 | 351 | </if> |
| 352 | - <if test="babyMCertNo != null and babyMCertNo != ''"> | |
| 352 | + <if test="babyMCertNo != null "> | |
| 353 | 353 | baby_m_cert_no = #{babyMCertNo}, |
| 354 | 354 | </if> |
| 355 | - <if test="babyFCertNo != null and babyFCertNo != ''"> | |
| 355 | + <if test="babyFCertNo != null "> | |
| 356 | 356 | baby_f_cert_no = #{babyFCertNo}, |
| 357 | 357 | </if> |
| 358 | 358 | <if test="pid != null and pid != ''"> |
| 359 | 359 | |
| ... | ... | @@ -367,10 +367,10 @@ |
| 367 | 367 | <if test="birth != null and birth != ''"> |
| 368 | 368 | birth = #{birth}, |
| 369 | 369 | </if> |
| 370 | - <if test="checkTime != null and checkTime != ''"> | |
| 370 | + <if test="checkTime != null "> | |
| 371 | 371 | check_time = #{checkTime}, |
| 372 | 372 | </if> |
| 373 | - <if test="nextCheckTime != null and nextCheckTime != ''"> | |
| 373 | + <if test="nextCheckTime != null "> | |
| 374 | 374 | next_check_time = #{nextCheckTime}, |
| 375 | 375 | </if> |
| 376 | 376 | <if test="doctor != null and doctor != ''"> |