diff --git a/src/com/engine/salary/service/impl/AddUpSituationServiceImpl.java b/src/com/engine/salary/service/impl/AddUpSituationServiceImpl.java index 513f00d00..45b6d3009 100644 --- a/src/com/engine/salary/service/impl/AddUpSituationServiceImpl.java +++ b/src/com/engine/salary/service/impl/AddUpSituationServiceImpl.java @@ -224,6 +224,11 @@ public class AddUpSituationServiceImpl extends Service implements AddUpSituation if (taxCycle == null) { throw new SalaryRunTimeException(SalaryI18nUtil.getI18nLabel(100353, "参数有误:税款所属期必传")); } + + if(CollectionUtils.isEmpty(employeeIds)){ + return Boolean.TRUE; + } + AddUpSituationBiz biz = new AddUpSituationBiz(); List addUpSituations = biz.listSome(AddUpSituation.builder().employeeIds(employeeIds).taxYearMonth(taxCycle).build()); Set properties = SalaryEntityUtil.properties(addUpSituations, AddUpSituation::getId);