| | |
| | | } |
| | | |
| | | @ApiOperation(value = "关联账单信息") |
| | | @GetMapping(value = "/getBillByInvoiceId") |
| | | public R<PageInfo<TBill>> getBillByInvoiceId(String invoiceId){ |
| | | @GetMapping(value = "/getBillByInvoiceId/{invoiceId}") |
| | | public R<PageInfo<TBill>> getBillByInvoiceId(@PathVariable String invoiceId){ |
| | | return R.ok(tBillService.getBillByInvoiceId(invoiceId)); |
| | | } |
| | | |
| | |
| | | TInvoice tInvoice = new TInvoice(); |
| | | tInvoice.setId(query.getId()); |
| | | tInvoice.setInvoiceVoucher(query.getInvoiceVoucher()); |
| | | tInvoice.setInvoiceVoucherName(query.getInvoiceVoucherName()); |
| | | tInvoice.setInvoiceTime(query.getInvoiceTime()); |
| | | tInvoice.setStatus(2); |
| | | return R.ok(invoiceService.updateById(tInvoice)); |
| | | } |
| | | |
| | | } |
| | | |