Commit b5fba73ec3fa0da4437abe818516c027dd0fb386
1 parent
07c81b8e2e
Exists in
master
and in
8 other branches
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 @
b5fba73
| ... | ... | @@ -742,7 +742,7 @@ |
| 742 | 742 | |
| 743 | 743 | |
| 744 | 744 | //修改了手机号,不能修改已存在的手机号 |
| 745 | - if(!users.getOtherAccount().equals(1) && !phone.equals(users.getPhone())) { | |
| 745 | + if(!new Integer(1).equals(users.getOtherAccount()) && !phone.equals(users.getPhone())) { | |
| 746 | 746 | //检查账户是否存在 |
| 747 | 747 | UsersQuery usersQuery = new UsersQuery(); |
| 748 | 748 | usersQuery.setPhone(phone); |