liu
2026-10-27 6a48d04a36bc459ed761d787ee3d537652185d36
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/controller/admin/contract/CrmContractCommandController.java
@@ -53,14 +53,12 @@
    @GetMapping("/get")
    @Operation(summary = "获得合同指令")
    @Parameter(name = "id", description = "编号", required = true)
    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
    public CommonResult<CrmContractCommandRespVO> getCommand(@RequestParam("id") Long id) {
        return success(commandService.getCommand(id));
    }
    @GetMapping("/page")
    @Operation(summary = "获得合同指令分页")
    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
    public CommonResult<PageResult<CrmContractCommandRespVO>> getCommandPage(@Valid CrmContractCommandPageReqVO pageReqVO) {
        return success(commandService.getCommandPage(pageReqVO));
    }
@@ -86,7 +84,6 @@
    @GetMapping("/count-by-contract")
    @Operation(summary = "统计某合同指令数量")
    @Parameter(name = "contractId", description = "合同ID", required = true)
    @PreAuthorize("@ss.hasPermission('crm:contract-command:query')")
    public CommonResult<Long> countByContract(@RequestParam("contractId") Long contractId) {
        return success(commandService.countByContractId(contractId));
    }