From 05507180eb2ee1f08ee3a38e55ef7c35c434a7e8 Mon Sep 17 00:00:00 2001 From: sy Date: Wed, 20 Sep 2023 15:40:31 +0800 Subject: [PATCH] =?UTF-8?q?=E8=96=AA=E9=85=AC=E7=B3=BB=E7=BB=9F-=E7=A6=8F?= =?UTF-8?q?=E5=88=A9=E5=8F=B0=E8=B4=A6=EF=BC=8C=E8=B0=83=E5=B7=AE=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E6=97=B6=E5=88=A4=E6=96=AD=E8=B0=83=E5=B7=AE=E5=88=B0?= =?UTF-8?q?=E5=AF=B9=E8=B1=A1=E6=98=AF=E5=90=A6=E4=B8=BA=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E8=8C=83=E5=9B=B4=E5=86=85=E7=A6=8F=E5=88=A9=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../salary/service/impl/SICompensationServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/com/engine/salary/service/impl/SICompensationServiceImpl.java b/src/com/engine/salary/service/impl/SICompensationServiceImpl.java index 59a5b00c9..8d0e1f579 100644 --- a/src/com/engine/salary/service/impl/SICompensationServiceImpl.java +++ b/src/com/engine/salary/service/impl/SICompensationServiceImpl.java @@ -345,6 +345,11 @@ public class SICompensationServiceImpl extends Service implements SICompensation continue; } + if (!param.getCategoryType().contains(param.getAdjustTo().toString())) { + errorList.add(usernameMap.get(param.getEmployeeId()) + "-调差失败:调差到的福利未正确设置!"); + continue; + } + //判断是否已有调差数据(个税扣缴义务人+账单月份+人员id) // InsuranceCompensationPO nowCompensation = getInsuranceCompensationMapper().getOneByBillMonthPayOrgEmpId(InsuranceCompensationPO.builder() // .billMonth(insuranceAccountDetailPO.getBillMonth())