Commit d614f09c7f12be5be03f22ae9cd11d773c9258d6

Authored by rui.zhang
1 parent bd0f9a45f4

platform permission

用户表修改

Showing 1 changed file with 1 additions and 1 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/UsersController.java View file @ d614f09
... ... @@ -243,7 +243,7 @@
243 243 usersQuery.setPhone(phone);
244 244 usersQuery.setYn(YnEnums.YES.getId());
245 245 List<Users> list = usersService.queryUsers(usersQuery);
246   - if(0 == list.size()) {
  246 + if(null == list || 0 == list.size()) {
247 247 ResultUtils.buildParameterErrorResultAndWrite(httpServletResponse, "该账户不存在");
248 248 return;
249 249 }