xiaoyi
6 天以前 481d8165f26fc7e37f0e87f6444ac0340bb563a3
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/cancellation/CrmCancellationController.java
@@ -70,7 +70,6 @@
    @GetMapping("/approver-ids")
    @Operation(summary = "获得销户申请的审批人编号集合,供前端判断是否展示审核按钮")
    @PreAuthorize("@ss.hasPermission('crm:cancellation:query')")
    public CommonResult<Set<Long>> getApproverUserIds() {
        return success(cancellationService.getCancellationApproverUserIds());
    }
@@ -87,14 +86,12 @@
    @GetMapping("/get")
    @Operation(summary = "获得销户申请")
    @Parameter(name = "id", description = "编号", required = true)
    @PreAuthorize("@ss.hasPermission('crm:cancellation:query')")
    public CommonResult<CrmCancellationRespVO> getCancellation(@RequestParam("id") Long id) {
        return success(cancellationService.getCancellation(id));
    }
    @GetMapping("/page")
    @Operation(summary = "获得销户申请分页")
    @PreAuthorize("@ss.hasPermission('crm:cancellation:query')")
    public CommonResult<PageResult<CrmCancellationRespVO>> getCancellationPage(@Valid CrmCancellationPageReqVO pageReqVO) {
        return success(cancellationService.getCancellationPage(pageReqVO));
    }
@@ -110,4 +107,4 @@
        ExcelUtils.write(response, "销户申请.xls", "数据", CrmCancellationRespVO.class, list);
    }
}
}