| | |
| | | { |
| | | 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)); |
| | | } |
| | | |
| | | /** |
| | | * 修改预估应收账单 |
| | |
| | | { |
| | | return toAjax(estimatedReceivableBillService.deleteEstimatedReceivableBillByIds(ids)); |
| | | } |
| | | |
| | | /** |
| | | * 取消关联 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("cancel/relevancy/{id}") |
| | | public AjaxResult cancelRelevancy(@PathVariable("id") Integer id) |
| | | { |
| | | return toAjax(estimatedReceivableBillService.cancelRelevancy(id)); |
| | | } |
| | | |
| | | } |