优化往期删除逻辑
This commit is contained in:
parent
eab3e9a6a9
commit
6967a7224c
|
|
@ -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<AddUpSituation> addUpSituations = biz.listSome(AddUpSituation.builder().employeeIds(employeeIds).taxYearMonth(taxCycle).build());
|
||||
Set<Long> properties = SalaryEntityUtil.properties(addUpSituations, AddUpSituation::getId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue