Commit facd32dacffc8a21efee790464307cde67fa0a1d
1 parent
d20bf0ef4b
Exists in
dev
大同 建档管理查询当前医生的数据
Showing 1 changed file with 9 additions and 3 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
facd32d
... | ... | @@ -13,7 +13,6 @@ |
13 | 13 | import com.lyms.platform.common.result.BaseResponse; |
14 | 14 | import com.lyms.platform.common.result.PageResult; |
15 | 15 | import com.lyms.platform.common.utils.*; |
16 | -import com.lyms.platform.operate.web.constant.OrganizationConstant; | |
17 | 16 | import com.lyms.platform.operate.web.request.*; |
18 | 17 | import com.lyms.platform.operate.web.result.*; |
19 | 18 | import com.lyms.platform.operate.web.service.IPreEugenicsService; |
... | ... | @@ -33,7 +32,10 @@ |
33 | 32 | import com.lyms.platform.permission.service.OrganizationService; |
34 | 33 | import com.lyms.platform.permission.service.UsersService; |
35 | 34 | import com.lyms.platform.pojo.*; |
36 | -import com.lyms.platform.query.*; | |
35 | +import com.lyms.platform.query.AntExChuQuery; | |
36 | +import com.lyms.platform.query.BabyModelQuery; | |
37 | +import com.lyms.platform.query.DataPermissionsModelQuery; | |
38 | +import com.lyms.platform.query.PatientsQuery; | |
37 | 39 | import org.apache.commons.collections.CollectionUtils; |
38 | 40 | import org.apache.commons.collections.Transformer; |
39 | 41 | import org.slf4j.Logger; |
... | ... | @@ -3191,7 +3193,11 @@ |
3191 | 3193 | // } |
3192 | 3194 | // patientsQuery.setBookbuildingDoctorList(bookbuildingDoctorList); |
3193 | 3195 | // } |
3194 | - patientsQuery.setBookbuildingDoctor(StringUtils.isEmpty(patientManagerRequest.getBookbuildingDoctor()) ? null : patientManagerRequest.getBookbuildingDoctor()); | |
3196 | + if("2100002419".equals(hospitalId)){ | |
3197 | + patientsQuery.setBookbuildingDoctor(patientManagerRequest.getOperatorId()==null ? null : patientManagerRequest.getOperatorId().toString()); | |
3198 | + }else{ | |
3199 | + patientsQuery.setBookbuildingDoctor(StringUtils.isEmpty(patientManagerRequest.getBookbuildingDoctor()) ? null : patientManagerRequest.getBookbuildingDoctor()); | |
3200 | + } | |
3195 | 3201 | patientsQuery.setProvinceRegisterId(StringUtils.isEmpty(patientManagerRequest.getProvinceId()) ? null : patientManagerRequest.getProvinceId()); |
3196 | 3202 | patientsQuery.setCityRegisterId(StringUtils.isEmpty(patientManagerRequest.getCityId()) ? null : patientManagerRequest.getCityId()); |
3197 | 3203 | patientsQuery.setAreaRegisterId(StringUtils.isEmpty(patientManagerRequest.getAreaId()) ? null : patientManagerRequest.getAreaId()); |