路维光电报表调整
This commit is contained in:
parent
5c1f4999f2
commit
e246b9a905
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue