| | |
| | | } |
| | | |
| | | /** |
| | | * 确认 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:confirm')") |
| | | @GetMapping(value = "confirm/{id}") |
| | | public AjaxResult confirm(@PathVariable("id") Integer id) |
| | | { |
| | | return toAjax(estimatedReceivableService.confirm(id)); |
| | | } |
| | | |
| | | /** |
| | | * 取消 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:cancel')") |
| | | @GetMapping(value = "cancel/{id}") |
| | | public AjaxResult cancel(@PathVariable("id") Integer id) |
| | | { |
| | | return toAjax(estimatedReceivableService.cancel(id)); |
| | | } |
| | | |
| | | /** |
| | | * 作废 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:invalid')") |
| | | @GetMapping(value = "invalid/{id}") |
| | | public AjaxResult invalid(@PathVariable("id") Integer id) |
| | | { |
| | | return toAjax(estimatedReceivableService.invalid(id)); |
| | | } |
| | | |
| | | /** |
| | | * 新增预估应收管理 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:estimatedReceivable:add')") |