Commit 4045882e534349abeb00a5a427f8cc8b6cc2a3d7
1 parent
fb175cd119
Exists in
master
and in
6 other branches
区域孕产妇管理-高危管理:导出与页面不一致bug
Showing 1 changed file with 4 additions and 0 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/PatientFacade.java
View file @
4045882
... | ... | @@ -2193,6 +2193,10 @@ |
2193 | 2193 | List <Map <String, Object>> datas = new ArrayList <>(); |
2194 | 2194 | Map <String, String> cnames = new LinkedHashMap <>(); |
2195 | 2195 | int type = patientsQueryRequest.getQueryType() == 1 ? 1 : 3; |
2196 | + //导出与页面不一致.不知道上面type逻辑什么意思。这里保证只要传querytype就能得到正确结果 | |
2197 | + if(null!=patientsQueryRequest.getQueryType()){ | |
2198 | + type=patientsQueryRequest.getQueryType(); | |
2199 | + } | |
2196 | 2200 | listResponse = (BaseListResponse) queryHighRisk(patientsQueryRequest, null, type, userId, "true", Boolean.TRUE); |
2197 | 2201 | List list = listResponse.getData(); |
2198 | 2202 | for (Object obj : list) { |