薪酬系统-薪资档案,非系统人员导入模板带出数据中部门为null处理为空字符串

This commit is contained in:
sy 2023-08-29 11:46:06 +08:00
parent d94ee07de6
commit 28fff1f519
1 changed files with 1 additions and 1 deletions

View File

@ -343,7 +343,7 @@ public class SalaryArchiveExcelServiceImpl extends Service implements SalaryArch
// row.add(e.get("incomeCategory").toString());
// row.add(e.get("salarySob").toString());
// row.add(e.get("hiredate"));
row.add(e.get("departmentName"));
row.add(Optional.ofNullable(e.get("departmentName")).orElse("").toString());
row.add(Optional.ofNullable(e.get("workcode")).orElse("").toString());
row.add(e.get("mobile") == null ? "" : e.get("mobile").toString());
row.add(Util.null2String(e.get("employeeStatus")));