|
|
|
@ -652,16 +652,16 @@ 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(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) { |
|
|
|
|