路维光电报表调整

This commit is contained in:
Harryxzy 2025-08-04 20:36:40 +08:00
parent 5c1f4999f2
commit e246b9a905
1 changed files with 4 additions and 4 deletions

View File

@ -7220,13 +7220,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
List<Long> archivedTaxAgentIds = new ArrayList<>();
for (TaxAgentPO taxAgentPO : taxAgentPOS) {
InsuranceAccountBatchPO batchPO = getInsuranceAccountBatchMapper().getByBillMonth(param.getBillMonth(), taxAgentPO.getId());
if (batchPO != null && batchPO.getBillStatus().equals(BillStatusEnum.ARCHIVED.getValue())) {
if (batchPO != null) {
archivedTaxAgentIds.add(taxAgentPO.getId());
}
}
if (CollectionUtils.isEmpty(archivedTaxAgentIds)) {
throw new SalaryRunTimeException("暂无已归档数据");
throw new SalaryRunTimeException("暂无数据");
}
// 获取台账明细数据
OrderRuleVO orderRule = getSalarySysConfService(user).orderRule();
@ -7410,13 +7410,13 @@ public class SIAccountServiceImpl extends Service implements SIAccountService {
List<Long> archivedTaxAgentIds = new ArrayList<>();
for (TaxAgentPO taxAgentPO : taxAgentPOS) {
InsuranceAccountBatchPO batchPO = getInsuranceAccountBatchMapper().getByBillMonth(param.getBillMonth(), taxAgentPO.getId());
if (batchPO != null && batchPO.getBillStatus().equals(BillStatusEnum.ARCHIVED.getValue())) {
if (batchPO != null) {
archivedTaxAgentIds.add(taxAgentPO.getId());
}
}
if (CollectionUtils.isEmpty(archivedTaxAgentIds)) {
throw new SalaryRunTimeException("暂无已归档数据");
throw new SalaryRunTimeException("暂无数据");
}
// 获取台账明细数据
OrderRuleVO orderRule = getSalarySysConfService(user).orderRule();