Commit 7e129cb76679776b5b996d10fb6ebd0f0e2a2fdb
1 parent
bab1e52d2d
Exists in
master
and in
6 other branches
听力诊断模块
Showing 2 changed files with 4 additions and 1 deletions
platform-biz-service/src/main/resources/mainOrm/master/BabyPatientExtendEarHearingDiagnose.xml
View file @
7e129cb
... | ... | @@ -953,7 +953,9 @@ |
953 | 953 | DATEDIFF(#{confirmEndTime},hd.confirm_time) >=0 |
954 | 954 | ]]> |
955 | 955 | </if> |
956 | - | |
956 | + <if test="hospitalId != null and hospitalId != ''"> | |
957 | + and hospital_id = #{hospitalId,jdbcType=VARCHAR}, | |
958 | + </if> | |
957 | 959 | <if test="babyIds!=null"> |
958 | 960 | and baby_id in ( |
959 | 961 | <foreach item="babyId" collection="babyIds" separator="," > |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/HearDiagnManageController.java
View file @
7e129cb
... | ... | @@ -321,6 +321,7 @@ |
321 | 321 | BabyPatientExtendEarHearingDiagnoseQuery query = new BabyPatientExtendEarHearingDiagnoseQuery(); |
322 | 322 | |
323 | 323 | query.setHospitalId(hospitalId); |
324 | + | |
324 | 325 | if (hdReq.getDiagnDoctorId() != null) {//诊断医生 |
325 | 326 | query.setDiagnDoctorId(hdReq.getDiagnDoctorId()); |
326 | 327 | } |