薪酬系统-福利台账,调差默认配置数据获取逻辑优化

This commit is contained in:
sy 2023-01-04 17:41:09 +08:00
parent b786de5e4d
commit d25fc4a579
1 changed files with 2 additions and 1 deletions

View File

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