| | |
| | | return ApiResponse.success(categoryExtService.findPage(pageWrap)); |
| | | } |
| | | |
| | | @ApiOperation("列表查询") |
| | | @PostMapping("/list") |
| | | @RequiresPermissions("ext:categoryext:query") |
| | | public ApiResponse<List<CategoryExtListVO>> list(@RequestBody QueryCategoryExtDTO queryCategoryExtDTO) { |
| | | queryCategoryExtDTO.setDeleted(Constants.ZERO); |
| | | queryCategoryExtDTO.setRootDepartId(getLoginUser().getRootDepartment().getId()); |
| | | return ApiResponse.success(categoryExtService.findList(queryCategoryExtDTO)); |
| | | } |
| | | |
| | | @ApiOperation("导出Excel") |
| | | @PostMapping("/exportExcel") |
| | | @RequiresPermissions("ext:categoryext:exportExcel") |