|
|
@ -181,8 +181,8 @@ public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> impl
|
|
|
|
InvoiceHeader invoiceHeader = invoiceHeaderMapper.selectById(invoiceHeaderId);
|
|
|
|
InvoiceHeader invoiceHeader = invoiceHeaderMapper.selectById(invoiceHeaderId);
|
|
|
|
invoice.setCustomName(custom.getCompanyName());
|
|
|
|
invoice.setCustomName(custom.getCompanyName());
|
|
|
|
invoice.setInvoiceHeaderName(invoiceHeader.getCompanyName());
|
|
|
|
invoice.setInvoiceHeaderName(invoiceHeader.getCompanyName());
|
|
|
|
if(null!=copycatId){
|
|
|
|
if(null!=custom.getCopycatId()){
|
|
|
|
PcUser pcUser = pcUserMapper.selectById(copycatId);
|
|
|
|
PcUser pcUser = pcUserMapper.selectById(custom.getCopycatId());
|
|
|
|
invoice.setCopycatName(pcUser.getName());
|
|
|
|
invoice.setCopycatName(pcUser.getName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -215,8 +215,8 @@ public class InvoiceServiceImpl extends ServiceImpl<InvoiceMapper, Invoice> impl
|
|
|
|
InvoiceHeader invoiceHeader = invoiceHeaderMapper.selectById(invoiceHeaderId);
|
|
|
|
InvoiceHeader invoiceHeader = invoiceHeaderMapper.selectById(invoiceHeaderId);
|
|
|
|
invoice.setCustomName(custom.getCompanyName());
|
|
|
|
invoice.setCustomName(custom.getCompanyName());
|
|
|
|
invoice.setInvoiceHeaderName(invoiceHeader.getCompanyName());
|
|
|
|
invoice.setInvoiceHeaderName(invoiceHeader.getCompanyName());
|
|
|
|
if(null!=copycatId){
|
|
|
|
if(null!=custom.getCopycatId()){
|
|
|
|
PcUser pcUser = pcUserMapper.selectById(copycatId);
|
|
|
|
PcUser pcUser = pcUserMapper.selectById(custom.getCopycatId());
|
|
|
|
invoice.setCopycatName(pcUser.getName());
|
|
|
|
invoice.setCopycatName(pcUser.getName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|