Commit 9974603d4cb1b1afd56cf039ce0d896ead5dc424
1 parent
9d96aac1
修复审核云用户管理的条件查询功能
Showing
1 changed file
with
4 additions
and
4 deletions
src/main/java/com/cnlive/shenhe/controller/UsersController.java
| @@ -139,10 +139,10 @@ public class UsersController extends BaseController { | @@ -139,10 +139,10 @@ public class UsersController extends BaseController { | ||
| 139 | return "redirect:/users/login"; | 139 | return "redirect:/users/login"; |
| 140 | } | 140 | } |
| 141 | Integer spid = sessionUser.getSpid(); | 141 | Integer spid = sessionUser.getSpid(); |
| 142 | - usersDTO.setSp_id(spid); | ||
| 143 | - if (spid == 0) { | ||
| 144 | - usersDTO.setSp_id(null); | ||
| 145 | - } | 142 | + //usersDTO.setSp_id(usersDTO.getSp_id()); |
| 143 | + //if (spid == 0) { | ||
| 144 | + // usersDTO.setSp_id(null); | ||
| 145 | + //} | ||
| 146 | 146 | ||
| 147 | PageInfo<ShyUsers> usersPage = usersService.getPage(usersDTO); | 147 | PageInfo<ShyUsers> usersPage = usersService.getPage(usersDTO); |
| 148 | List<ShyUsers> list = usersPage.getList(); | 148 | List<ShyUsers> list = usersPage.getList(); |