From 62b97cb330bc85d855c410ba2342a3eec1f7f4c1 Mon Sep 17 00:00:00 2001 From: Harryxzy Date: Mon, 25 Nov 2024 13:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=87=E9=80=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/salary/service/impl/SIAccountServiceImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/engine/salary/service/impl/SIAccountServiceImpl.java b/src/com/engine/salary/service/impl/SIAccountServiceImpl.java index f01ef4131..c28ed2d1f 100644 --- a/src/com/engine/salary/service/impl/SIAccountServiceImpl.java +++ b/src/com/engine/salary/service/impl/SIAccountServiceImpl.java @@ -1241,7 +1241,9 @@ public class SIAccountServiceImpl extends Service implements SIAccountService { insuranceAccountDetailPOS.addAll(insuranceAccountDetailList); // 获取这些人对应的补缴、补差数据 List empList = insuranceAccountDetailList.stream().map(InsuranceAccountDetailPO::getEmployeeId).collect(Collectors.toList()); - insuranceAccountDetailPOS.addAll(getInsuranceAccountDetailMapper().queryList4Ht(billMonth, taxAgent.getId(), null, null, null, empList, statusList)); + if (CollectionUtils.isNotEmpty(empList)) { + insuranceAccountDetailPOS.addAll(getInsuranceAccountDetailMapper().queryList4Ht(billMonth, taxAgent.getId(), null, null, null, empList, statusList)); + } } // 正常缴纳