| | |
| | | */ |
| | | @ApiOperation("分页查询") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("company:company:query") |
| | | public ApiResponse<PageData<CompanyUserDTO>> findPage(PageWrap<CompanyUserQueryDTO> pageWrap){ |
| | | // @RequiresPermissions("company:company:query") |
| | | public ApiResponse<PageData<CompanyUserDTO>> findPage(@RequestBody PageWrap<CompanyUserQueryDTO> pageWrap){ |
| | | return ApiResponse.success(companyUserService.findPage(pageWrap)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @ApiOperation("分页查询") |
| | | @PostMapping("/findByUserId") |
| | | @RequiresPermissions("company:company:query") |
| | | // @RequiresPermissions("company:company:query") |
| | | public ApiResponse<CompanyUserDTO> findByUserId(@RequestParam("userId") Integer userId){ |
| | | |
| | | CompanyUserDTO company = new CompanyUserDTO(); |
| | |
| | | */ |
| | | @ApiOperation("分页查询") |
| | | @GetMapping("/findListByCompanyID") |
| | | @RequiresPermissions("company:company:query") |
| | | // @RequiresPermissions("company:company:query") |
| | | public ApiResponse<List<CompanyUserDTO>> findListByCompanyID(@RequestParam("companyId") Integer companyId){ |
| | | CompanyUserDTO company = new CompanyUserDTO(); |
| | | company.setCompanyId(companyId); |