离职日期允许导入清空
This commit is contained in:
parent
48712d7d37
commit
4a2821d793
|
|
@ -601,10 +601,14 @@ public class EmployeeDeclareExcelServiceImpl extends Service implements Employee
|
|||
|
||||
Set<String> emptyNames = new HashSet<>();
|
||||
for (PropertyDescriptor pd : pds) {
|
||||
Object srcValue = src.getPropertyValue(pd.getName());
|
||||
String name = pd.getName();
|
||||
if("dismissDate".equals(name)){
|
||||
continue;
|
||||
}
|
||||
Object srcValue = src.getPropertyValue(name);
|
||||
// 此处判断可根据需求修改
|
||||
if (srcValue == null) {
|
||||
emptyNames.add(pd.getName());
|
||||
emptyNames.add(name);
|
||||
}
|
||||
}
|
||||
String[] result = new String[emptyNames.size()];
|
||||
|
|
|
|||
Loading…
Reference in New Issue