Commit a3b039fa by manxiaoqiang

pom

parent fad63659
......@@ -118,7 +118,7 @@ public class UserServiceImpl implements UserService {
List<User> result = new ArrayList<>();
if(login.getRole().equals(RoleEnum.MANAGER.getKey())) {
userList = userRepository.findList();
} else if(!RoleTypeEnum.MANAGER.getKey().equals(login.getRoleType())){
} else if(RoleTypeEnum.MANAGER.getKey().equals(login.getRoleType())){
userList = userRepository.findOneDepartment(login.getRole());
}
if(ValidateUtil.isValid(userList)){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment