| | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.cwgl.domain.ReceivableFeeManagement; |
| | | import com.ruoyi.cwgl.service.IReceivableFeeManagementService; |
| | | import com.ruoyi.cwgl.domain.vo.ReceivableBillCreateVo; |
| | | import com.ruoyi.cwgl.service.IReceivableFeeManagementService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | |
| | | @PostMapping("/createBill") |
| | | public AjaxResult createBill(@RequestBody ReceivableBillCreateVo billCreateVo) |
| | | { |
| | | Integer billId = receivableFeeManagementService.createReceivableBill(billCreateVo); |
| | | return AjaxResult.success(billId); |
| | | |
| | | return toAjax(receivableFeeManagementService.createReceivableBill(billCreateVo)); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 作废应收费用管理记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('cwgl:receivableFeeManagement:void')") |
| | | @Log(title = "应收费用管理", businessType = BusinessType.UPDATE) |
| | | @PutMapping("/void/{id}") |
| | | public AjaxResult voidReceivableFee(@PathVariable Integer id) |
| | | { |
| | | return toAjax(receivableFeeManagementService.voidReceivableFeeManagement(id)); |
| | | } |
| | | } |