| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.sales.dto.InvoiceLedgerDto; |
| | | import com.ruoyi.sales.dto.ReceiptPaymentDto; |
| | | import com.ruoyi.sales.mapper.ReceiptPaymentMapper; |
| | | import com.ruoyi.sales.pojo.ReceiptPayment; |
| | |
| | | |
| | | return totalContractAmount; |
| | | } |
| | | |
| | | /** |
| | | * 查询已经绑定发票的开票台账 |
| | | * @param page |
| | | * @param receiptPaymentDto |
| | | * @return |
| | | */ |
| | | @Override |
| | | public IPage<ReceiptPaymentDto> bindInvoiceNoRegPage(Page page, ReceiptPaymentDto receiptPaymentDto) { |
| | | return receiptPaymentMapper.bindInvoiceNoRegPage(page, receiptPaymentDto); |
| | | } |
| | | |
| | | /** |
| | | * 开票台账详情 |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @Override |
| | | public InvoiceLedgerDto invoiceInfo(Integer id) { |
| | | return receiptPaymentMapper.invoiceInfo(id); |
| | | } |
| | | } |