人员信息报送导入,申报状态

This commit is contained in:
Harryxzy 2024-01-02 13:46:14 +08:00
parent 4c233fb168
commit dbcd6cc0b2
1 changed files with 1 additions and 0 deletions

View File

@ -447,6 +447,7 @@ public class EmployeeDeclareExcelServiceImpl extends Service implements Employee
BeanUtils.copyProperties(employeeDeclarePO, newEmployeeDeclare, getNullPropertyNames(employeeDeclarePO));
newEmployeeDeclare.setNewEmployeeInfo(StringUtils.equals(employeeDeclare.toCompareString(), newEmployeeDeclare.toCompareString()) ? 0 : 1);
newEmployeeDeclare.setUpdateTime(now);
needUpdateEmployeeDeclares.add(newEmployeeDeclare);
if (Objects.equals(newEmployeeDeclare.getNewEmployeeInfo(), 1)) {
newEmployeeDeclare.setDeclareStatus(DeclareStatusEnum.NOT_DECLARE.getValue());
newEmployeeDeclare.setDeclareErrorMsg("");