|
|
@ -1348,6 +1348,11 @@ public class UserServiceImpl extends BaseServiceImpl<UserDao, UserEntity> implem |
|
|
|
|
|
|
|
@Override |
|
|
|
public PageData<UserPointResultDTO> listPoint(Map<String, Object> params) { |
|
|
|
Long userId = SecurityUser.getUserId(); |
|
|
|
// 查询当前用户所具有的的数据权限
|
|
|
|
UserDetail userDetail = userDetailRedis.get(userId); |
|
|
|
List<Long> deptIdList = userDetail.getDeptIdList(); |
|
|
|
params.put("deptIdList",deptIdList); |
|
|
|
IPage<UserPointResultDTO> iPage = this.getPage(params); |
|
|
|
List<UserPointResultDTO> userPointResultDTOS = baseDao.selectListPoints(params); |
|
|
|
return new PageData<>(userPointResultDTOS, iPage.getTotal()); |
|
|
|