|
|
@ -359,7 +359,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
QueryWrapper<TDxInvoiceReimburse> queryWrapper = new QueryWrapper<>(); |
|
|
|
QueryWrapper<TDxInvoiceReimburse> queryWrapper = new QueryWrapper<>(); |
|
|
|
queryWrapper.eq("uuid",uuid); |
|
|
|
queryWrapper.eq("uuid",uuid); |
|
|
|
TDxInvoiceReimburse tDxInvoiceReimburse = tDxInvoiceReimburseService.getBaseMapper().selectOne(queryWrapper); |
|
|
|
TDxInvoiceReimburse tDxInvoiceReimburse = tDxInvoiceReimburseService.getBaseMapper().selectOne(queryWrapper); |
|
|
|
if(tDxInvoiceReimburseService==null){ |
|
|
|
if(tDxInvoiceReimburse==null){ |
|
|
|
errorMsg.append("发票号码"+zdata1.getZFPHM()); |
|
|
|
errorMsg.append("发票号码"+zdata1.getZFPHM()); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -388,6 +388,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
//账期
|
|
|
|
//账期
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
int update = tDxrecordInvoiceDao.update(null, updateWrapper); |
|
|
|
int update = tDxrecordInvoiceDao.update(null, updateWrapper); |
|
|
|
if(update>0){ |
|
|
|
if(update>0){ |
|
|
@ -421,6 +422,7 @@ public class InvoiceAuthServiceImpl extends MpBaseServiceImpl<RecordInvoiceDao, |
|
|
|
//账期
|
|
|
|
//账期
|
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
updateWrapper.set("account_period",zdata1.getBUDAT()); |
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
updateWrapper.set("bzdh",zdata1.getZBZDH()); |
|
|
|
|
|
|
|
updateWrapper.set("inaccount_status",zdata1.getZYWZT()); |
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
DynamicContextHolder.push("business"+DbConstant.BUSINESS_WRITE); |
|
|
|
tDxInvoiceReimburseService.getBaseMapper().update(null,updateWrapper); |
|
|
|
tDxInvoiceReimburseService.getBaseMapper().update(null,updateWrapper); |
|
|
|
} |
|
|
|
} |
|
|
|