|
|
|
@ -123,6 +123,7 @@ public class ImageSubmitServiceImpl implements ImageSubmitService { |
|
|
|
|
item.setImageId(params.getImageId()); |
|
|
|
|
item.setBzdh(params.getBillNum()); |
|
|
|
|
item.setBzr(params.getJbrUserName()); |
|
|
|
|
item.setCompCode(params.getCompCode()); |
|
|
|
|
}); |
|
|
|
|
List<SdnyTDxSaleRecordInvoice> salesInvoiceList = new ArrayList<>(); |
|
|
|
|
invoicesList.stream().forEach(invoice -> { |
|
|
|
@ -150,6 +151,7 @@ public class ImageSubmitServiceImpl implements ImageSubmitService { |
|
|
|
|
saleRecordInvoice.setImageId(invoice.getImageId()); |
|
|
|
|
saleRecordInvoice.setBzdh(invoice.getBzdh()); |
|
|
|
|
saleRecordInvoice.setBzr(invoice.getBzr()); |
|
|
|
|
saleRecordInvoice.setCompCode(invoice.getCompCode()); |
|
|
|
|
DynamicContextHolder.push(DbConstant.BUSINESS_WRITE); |
|
|
|
|
sdnyTDxSaleRecordInvoiceDao.updateById(saleRecordInvoice); |
|
|
|
|
} |
|
|
|
|