Commit a3399ba8cb8332be286843b903f20edba9003415
1 parent
d6d7903b44
Exists in
master
and in
6 other branches
一贯制--团队管理列表bug
Showing 1 changed file with 8 additions and 8 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/service/impl/TeamServiceImpl.java
View file @
a3399ba
| ... | ... | @@ -102,14 +102,14 @@ |
| 102 | 102 | TeamModel teamModel=new TeamModel(); |
| 103 | 103 | BeanUtils.copyProperties(teamReq,teamModel); |
| 104 | 104 | teamModel.setCreated(new Date()); |
| 105 | - List<String> doctorIdArr=new ArrayList<>(); | |
| 106 | - Collections.copy(doctorIdArr,teamModel.getDoctorIdArr()); | |
| 107 | - teamModel.getDoctorIdArr().clear(); | |
| 108 | - for (String dId : doctorIdArr) { | |
| 109 | - if(null!=dId){ | |
| 110 | - teamModel.getDoctorIdArr().add(dId); | |
| 111 | - } | |
| 112 | - } | |
| 105 | +// List<String> doctorIdArr=new ArrayList<>(); | |
| 106 | +// Collections.copy(doctorIdArr,teamModel.getDoctorIdArr()); | |
| 107 | +// teamModel.getDoctorIdArr().clear(); | |
| 108 | +// for (String dId : doctorIdArr) { | |
| 109 | +// if(null!=dId){ | |
| 110 | +// teamModel.getDoctorIdArr().add(dId); | |
| 111 | +// } | |
| 112 | +// } | |
| 113 | 113 | |
| 114 | 114 | this.mongoTemplate.save(teamModel); |
| 115 | 115 | return new BaseObjectResponse() |