wujianwei
2025-08-18 5cccc3698dede7018339799336909f444b80b2c5
service/src/main/java/com/ruoyi/cwgl/controller/EstimatedReceivableBillController.java
@@ -94,6 +94,16 @@
    {
        return toAjax(estimatedReceivableBillService.updateEstimatedReceivableBill(estimatedReceivableBill));
    }
    /**
     * 修改预估应收账单
     */
    @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivableBill:edit')")
    @Log(title = "预估应收账单", businessType = BusinessType.UPDATE)
    @PutMapping("name")
    public AjaxResult name(@RequestBody EstimatedReceivableBill estimatedReceivableBill)
    {
        return toAjax(estimatedReceivableBillService.updateEstimatedReceivableBillName(estimatedReceivableBill));
    }
    /**
     * 修改预估应收账单
@@ -116,4 +126,16 @@
    {
        return toAjax(estimatedReceivableBillService.deleteEstimatedReceivableBillByIds(ids));
    }
    /**
     * 取消关联
     * @param id
     * @return
     */
    @GetMapping("cancel/relevancy/{id}")
    public AjaxResult cancelRelevancy(@PathVariable("id") Integer id)
    {
        return toAjax(estimatedReceivableBillService.cancelRelevancy(id));
    }
}