|
|
|
@ -160,6 +160,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -295,6 +296,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -304,6 +306,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e1.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -493,6 +496,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -612,6 +616,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -621,6 +626,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e1.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -646,16 +652,17 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
// 获取统计信息
|
|
|
|
|
ApplyStatPo batchData = new ApplyStatPo(); |
|
|
|
|
try { |
|
|
|
|
DynamicContextHolder.push(db + DbConstant.BASICS_READ); |
|
|
|
|
List<TAcOrg> orgList = confirmDao.getUpgradTaxno(); |
|
|
|
|
if (orgList != null && orgList.size() > 0) { |
|
|
|
|
for (TAcOrg acOrg : orgList) { |
|
|
|
|
DynamicContextHolder.push(db + DbConstant.BUSINESS_READ); |
|
|
|
|
//判断是否为大企业税号
|
|
|
|
|
DynamicContextHolder.push(DbConstant.BASICS_READ); |
|
|
|
|
BasisSysDeptCfg baseSysDeptCfg = basisSysDeptCfgDao.selectOne(new QueryWrapper<BasisSysDeptCfg>().eq("nsrsbh", acOrg.getTaxno())); |
|
|
|
|
if (baseSysDeptCfg != null) { |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DynamicContextHolder.push(db + DbConstant.BUSINESS_READ); |
|
|
|
|
TaxCurrent current = confirmDao.qryTaxCurrent(acOrg.getTaxno()); |
|
|
|
|
List<TDxDkCount> dkList = confirmDao.findAllDkCount(acOrg.getTaxno()); |
|
|
|
|
if (current != null) { |
|
|
|
@ -905,6 +912,7 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e.printStackTrace(); |
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -915,11 +923,12 @@ public class ApplyServiceImpl extends ServiceImpl<ConfirmDao, TDxHttpLog> implem |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} catch (Exception e1) { |
|
|
|
|
|
|
|
|
|
log.error("执行定时任务报错,报错信息是:{}",e1); |
|
|
|
|
DynamicContextHolder.push(db + DbConstant.BUSINESS_WRITE); |
|
|
|
|
tDxHttpLog.setStatus("2"); |
|
|
|
|
confirmDao.insert(tDxHttpLog); |
|
|
|
|
e1.printStackTrace(); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|