Browse Source

[fix]

财务管理 国税发票
修改根据销售订单信息填充发票信息service方法,补充公司税号字段;
dev
王晓迪 2 months ago
parent
commit
390e087d2a
  1. 2
      ruoyi-admin/src/main/java/com/ruoyi/financial/service/impl/FinancialTaxInvoiceServiceImpl.java

2
ruoyi-admin/src/main/java/com/ruoyi/financial/service/impl/FinancialTaxInvoiceServiceImpl.java

@ -191,7 +191,7 @@ public class FinancialTaxInvoiceServiceImpl implements IFinancialTaxInvoiceServi
financialTaxInvoice.setUsdTaxSum(BigDecimal.valueOf(sysSalesOrder.getUsdTaxSum())); financialTaxInvoice.setUsdTaxSum(BigDecimal.valueOf(sysSalesOrder.getUsdTaxSum()));
financialTaxInvoice.setNoUsdSum(BigDecimal.valueOf(sysSalesOrder.getNoUsdSum())); financialTaxInvoice.setNoUsdSum(BigDecimal.valueOf(sysSalesOrder.getNoUsdSum()));
SysCustomerVo sysCustomerVo = sysCustomerMapper.selectSysCustomerByEnterpriseCode(sysSalesOrder.getEnterpriseCode()); SysCustomerVo sysCustomerVo = sysCustomerMapper.selectSysCustomerByEnterpriseCode(sysSalesOrder.getEnterpriseCode());
financialTaxInvoice.setInvoiceCompanyCode(sysCustomerVo.getInvoicingCustomerName()); financialTaxInvoice.setInvoiceCompanyCode(sysCustomerVo.getInvoiceCode());
financialTaxInvoice.setInvoiceCompanyName(sysCustomerVo.getInvoicingCompanyName()); financialTaxInvoice.setInvoiceCompanyName(sysCustomerVo.getInvoicingCompanyName());
financialTaxInvoice.setBankAccount(sysCustomerVo.getBankAccount()); financialTaxInvoice.setBankAccount(sysCustomerVo.getBankAccount());
financialTaxInvoice.setDepositBank(sysCustomerVo.getDepositBank()); financialTaxInvoice.setDepositBank(sysCustomerVo.getDepositBank());

Loading…
Cancel
Save