| | |
| | | /** |
| | | * 开票台账导出 |
| | | * @param response |
| | | * @param invoiceLedgerDto |
| | | * @param invoiceRegistrationProductDto |
| | | * @return |
| | | */ |
| | | @PostMapping("/export") |
| | | public void invoiceLedgerExport(HttpServletResponse response, InvoiceLedgerDto invoiceLedgerDto) { |
| | | invoiceLedgerService.invoiceLedgerExport(response, invoiceLedgerDto); |
| | | public void invoiceLedgerExport(HttpServletResponse response, InvoiceRegistrationProductDto invoiceRegistrationProductDto) { |
| | | invoiceLedgerService.invoiceLedgerExport(response, invoiceRegistrationProductDto); |
| | | } |
| | | |
| | | /** |
| | |
| | | return AjaxResult.success(invoiceLedgerService.invoiceLedgerProductDetail(id)); |
| | | } |
| | | |
| | | /** |
| | | * 开票台账删除 |
| | | * @param invoiceRegistrationProductId |
| | | * @return |
| | | */ |
| | | @DeleteMapping("delInvoiceLedger/{invoiceRegistrationProductId}") |
| | | public AjaxResult delInvoiceLedger(@PathVariable Integer invoiceRegistrationProductId) { |
| | | try { |
| | | invoiceLedgerService.delInvoiceLedger(invoiceRegistrationProductId); |
| | | return AjaxResult.success(); |
| | | }catch (Exception e) { |
| | | return AjaxResult.error(e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | } |