Commit 2ce61765da196d6bafdf9af37cc01c3e9dada8f7
1 parent
a3399ba8cb
Exists in
master
and in
6 other branches
一贯制--团队管理列表bug
Showing 1 changed file with 4 additions and 4 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TeamServiceImpl.java
View file @
2ce6176
... | ... | @@ -147,10 +147,10 @@ |
147 | 147 | public BaseResponse teamDocList(String teamId) { |
148 | 148 | TeamModel teamModel=this.mongoTemplate.findOne(new Query(Criteria.where("id").is(teamId)),TeamModel.class); |
149 | 149 | UsersQuery usersQuery = new UsersQuery(); |
150 | - final List<Integer> ids=new ArrayList<>(); | |
151 | - for (String id : | |
152 | - teamModel.getDoctorIdArr()) { | |
153 | - ids.add(Integer.valueOf(id)); | |
150 | + List<Integer> ids=new ArrayList<>(); | |
151 | + | |
152 | + for (String id : teamModel.getDoctorIdArr()) { | |
153 | + ids.add(Integer.valueOf(id==null?"0":id)); | |
154 | 154 | } |
155 | 155 | usersQuery.setIds(ids); |
156 | 156 | List<Users> uLst=usersService.queryUsers(usersQuery); |