Commit 4e5f2eb9ddf4dd3efbaa53bc9ed0130ba0bec5e3

Authored by jesse.wang
1 parent 7e9cc035fc

查询报错

Showing 2 changed files with 2 additions and 139 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/dao/master/BabyAutismDoubleSievingMapper.java View file @ 4e5f2eb
... ... @@ -80,6 +80,6 @@
80 80 */
81 81 int deleteById(String id);
82 82  
83   - List<BabyAutismDoubleSieving> queryListByBabyId(@Param("babyId")String babyId);
  83 + List<BabyAutismDoubleSieving> queryListByBabyId(String id);
84 84 }
platform-biz-service/src/main/resources/mainOrm/master/BabyAutismDoubleSievingDao.xml View file @ 4e5f2eb
... ... @@ -357,144 +357,7 @@
357 357 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, 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
358 358 from baby_autism_double_sieving
359 359 <where>
360   - <if test="id != null and id != ''">
361   - and id = #{id}
362   - </if>
363   - <if test="created != null and created != ''">
364   - and created = #{created}
365   - </if>
366   - <if test="modified != null and modified != ''">
367   - and modified = #{modified}
368   - </if>
369   - <if test="yn != null">
370   - and yn = #{yn}
371   - </if>
372   - <if test="operaterId != null and operaterId != ''">
373   - and operater_id = #{operaterId}
374   - </if>
375   - <if test="hospitalId != null and hospitalId != ''">
376   - and hospital_id = #{hospitalId}
377   - </if>
378   - <if test="babyId != null and babyId != ''">
379   - and baby_id = #{babyId}
380   - </if>
381   - <if test="babyBuildDate != null and babyBuildDate != ''">
382   - and baby_build_date = #{babyBuildDate}
383   - </if>
384   - <if test="babyName != null and babyName != ''">
385   - and baby_name = #{babyName}
386   - </if>
387   - <if test="babySex != null">
388   - and baby_sex = #{babySex}
389   - </if>
390   - <if test="babyMName != null and babyMName != ''">
391   - and baby_m_name = #{babyMName}
392   - </if>
393   - <if test="babyFName != null and babyFName != ''">
394   - and baby_f_name = #{babyFName}
395   - </if>
396   - <if test="babyMPhone != null and babyMPhone != ''">
397   - and baby_m_phone = #{babyMPhone}
398   - </if>
399   - <if test="babyFPhone != null and babyFPhone != ''">
400   - and baby_f_phone = #{babyFPhone}
401   - </if>
402   - <if test="babyMCertNo != null and babyMCertNo != ''">
403   - and baby_m_cert_no = #{babyMCertNo}
404   - </if>
405   - <if test="babyFCertNo != null and babyFCertNo != ''">
406   - and baby_f_cert_no = #{babyFCertNo}
407   - </if>
408   - <if test="pid != null and pid != ''">
409   - and pid = #{pid}
410   - </if>
411   - <if test="checkMonthAge != null and checkMonthAge != ''">
412   - and check_month_age = #{checkMonthAge}
413   - </if>
414   - <if test="checkMonthId != null and checkMonthId != ''">
415   - and check_month_id = #{checkMonthId}
416   - </if>
417   - <if test="birth != null and birth != ''">
418   - and birth = #{birth}
419   - </if>
420   - <if test="checkTime != null and checkTime != ''">
421   - and check_time = #{checkTime}
422   - </if>
423   - <if test="nextCheckTime != null and nextCheckTime != ''">
424   - and next_check_time = #{nextCheckTime}
425   - </if>
426   - <if test="checkDoctor != null and checkDoctor != ''">
427   - and check_doctor = #{checkDoctor}
428   - </if>
429   - <if test="doctorSign != null and doctorSign != ''">
430   - and doctor_sign = #{doctorSign}
431   - </if>
432   - <if test="patientSign != null and patientSign != ''">
433   - and patient_sign = #{patientSign}
434   - </if>
435   - <if test="preliminaryScreeningResults != null and preliminaryScreeningResults != ''">
436   - and preliminary_screening_results = #{preliminaryScreeningResults}
437   - </if>
438   - <if test="preliminaryScreeningResultsFailedProject != null and preliminaryScreeningResultsFailedProject != ''">
439   - and preliminary_screening_results_failed_project = #{preliminaryScreeningResultsFailedProject}
440   - </if>
441   - <if test="medicalHistory != null and medicalHistory != ''">
442   - and medical_history = #{medicalHistory}
443   - </if>
444   - <if test="medicalHistoryRemark != null and medicalHistoryRemark != ''">
445   - and medical_history_remark = #{medicalHistoryRemark}
446   - </if>
447   - <if test="developerQuotient != null and developerQuotient != ''">
448   - and developer_quotient = #{developerQuotient}
449   - </if>
450   - <if test="bigMovement != null and bigMovement != ''">
451   - and big_movement = #{bigMovement}
452   - </if>
453   - <if test="fineMotion != null and fineMotion != ''">
454   - and fine_motion = #{fineMotion}
455   - </if>
456   - <if test="adaptability != null and adaptability != ''">
457   - and adaptability = #{adaptability}
458   - </if>
459   - <if test="languageNum != null and languageNum != ''">
460   - and language_num = #{languageNum}
461   - </if>
462   - <if test="socialBehavior != null and socialBehavior != ''">
463   - and social_behavior = #{socialBehavior}
464   - </if>
465   - <if test="pediatricHeartScaleAssessMentresults != null and pediatricHeartScaleAssessMentresults != ''">
466   - and pediatric_heart_scale_assess_mentresults = #{pediatricHeartScaleAssessMentresults}
467   - </if>
468   - <if test="coreProjectNum != null and coreProjectNum != ''">
469   - and core_project_num = #{coreProjectNum}
470   - </if>
471   - <if test="positivetNum != null and positivetNum != ''">
472   - and positivet_num = #{positivetNum}
473   - </if>
474   - <if test="behaviorRatingScaleTotal != null and behaviorRatingScaleTotal != ''">
475   - and behavior_rating_scale_total = #{behaviorRatingScaleTotal}
476   - </if>
477   - <if test="feelNum != null and feelNum != ''">
478   - and feel_num = #{feelNum}
479   - </if>
480   - <if test="socialInteractionNum != null and socialInteractionNum != ''">
481   - and social_interaction_num = #{socialInteractionNum}
482   - </if>
483   - <if test="bodyMovementNum != null and bodyMovementNum != ''">
484   - and body_movement_num = #{bodyMovementNum}
485   - </if>
486   - <if test="behaviorRatingLanguageNum != null and behaviorRatingLanguageNum != ''">
487   - and behavior_rating_language_num = #{behaviorRatingLanguageNum}
488   - </if>
489   - <if test="selfCareInDailyLifeNum != null and selfCareInDailyLifeNum != ''">
490   - and self_care_in_daily_life_num = #{selfCareInDailyLifeNum}
491   - </if>
492   - <if test="behaviorRatingScaleAssessMentresults != null and behaviorRatingScaleAssessMentresults != ''">
493   - and behavior_rating_scale_assess_mentresults = #{behaviorRatingScaleAssessMentresults}
494   - </if>
495   - <if test="rescreenResults != null and rescreenResults != ''">
496   - and rescreen_results = #{rescreenResults}
497   - </if>
  360 + and baby_id = #{id}
498 361 </where>
499 362 order by check_time
500 363 </select>