薪酬系统-福利台账,调差列表展示默认数据时,处理核算人员外的默认人员数据逻辑优化

This commit is contained in:
sy 2022-12-29 14:43:54 +08:00
parent 7fba73d3f4
commit ee72dcd3f0
1 changed files with 6 additions and 1 deletions

View File

@ -534,7 +534,12 @@ public class SICompensationServiceImpl extends Service implements SICompensation
//设置targetOptions
Map<String,String> targetOptions = new HashMap<>();
targetOptions.put("name", usernameMap.get(configPO.getEmployeeId()));
targetOptions.put("id", detailPOMap.get(configPO.getEmployeeId()).getId().toString());
String target = detailPOMap.get(configPO.getEmployeeId()).getId().toString();
if (target == null) {
continue;
} else {
targetOptions.put("id", detailPOMap.get(configPO.getEmployeeId()).getId().toString());
}
dto.setTargetOptions(targetOptions);