src/main/java/com/ruoyi/basic/controller/CustomerPrivatePoolController.java
@@ -39,8 +39,10 @@ @GetMapping("/listPage") @ApiOperation("客户(私海)列表") public R listPage(CustomerPrivatePoolDto customerPrivatePoolDto, Page<CustomerPrivatePoolDto> page){ //查询当前用户的客户信息 // 管理员可查看全部客户,不受归属人限制 if (!SecurityUtils.isAdmin(SecurityUtils.getUserId())) { customerPrivatePoolDto.setBoundId(SecurityUtils.getUserId()); } IPage<CustomerPrivatePoolDto> listPage = customerPrivatePoolService.listPage(page, customerPrivatePoolDto); return R.ok(listPage); }