|
|
|
@ -368,13 +368,15 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
if(recordInvoiceByUuid!=null){ |
|
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
|
updateWrapper.eq("uuid",uuid); |
|
|
|
|
//会计凭证号
|
|
|
|
|
//凭证号
|
|
|
|
|
updateWrapper.set("sn_voucher_number",zdata1.getBELNR()); |
|
|
|
|
//凭证过账日期
|
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
//账期
|
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
//报账单号
|
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
//入账状态
|
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
|
int update = tDxrecordInvoiceDao.update(null, updateWrapper); |
|
|
|
@ -400,21 +402,26 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
|
}else { |
|
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
|
updateWrapper.eq("uuid",uuid); |
|
|
|
|
//会计凭证号
|
|
|
|
|
//凭证号
|
|
|
|
|
updateWrapper.set("sn_voucher_number",zdata1.getBELNR()); |
|
|
|
|
//凭证过账日期
|
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
//账期
|
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
//报账单号
|
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
//入账状态
|
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
|
tDxInvoiceReimburseService.getBaseMapper().update(null,updateWrapper); |
|
|
|
|
} |
|
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
|
UpdateWrapper updateWrapper = new UpdateWrapper(); |
|
|
|
|
updateWrapper.set("voucher_no",zdata1.getBELNR()); |
|
|
|
|
updateWrapper.set("document_number",zdata1.getZBZDH()); |
|
|
|
|
updateWrapper.set("sn_voucher_number",zdata1.getBELNR()); |
|
|
|
|
updateWrapper.set("posting_time",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
|
updateWrapper.eq("uuid",uuid); |
|
|
|
|
tdxSaleRecordInvoiceDao.update(null,updateWrapper); |
|
|
|
|
if(!flag){ |
|
|
|
|