|
|
|
@ -20,6 +20,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us |
|
|
|
|
private static String projectName = "kdtr"; |
|
|
|
|
@Autowired |
|
|
|
|
private UserRoleMapper userRoleMapper; |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<User> selectByUserInfo17suo(User user) { |
|
|
|
|
user.setProjectSource(projectName); |
|
|
|
@ -73,14 +74,17 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us |
|
|
|
|
public int recovery(List record) { |
|
|
|
|
return this.userMapper.recovery(record); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<User> selectLogOutUser(String userName) { |
|
|
|
|
return this.userMapper.selectLogOutUser(userName, Constant.projectName); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public int deleteByPrimaryKey(List<String> id) { |
|
|
|
|
return this.userMapper.deleteByPrimaryKey(id); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void deleteUserRoleByUserId(String id) { |
|
|
|
|
this.userRoleMapper.deleteByUserId(id); |
|
|
|
|
} |
|
|
|
|