解决人员状态null问题
This commit is contained in:
parent
a51f20b798
commit
63928ddc59
|
|
@ -719,7 +719,7 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
|
|||
MonthTypeEnum monthType = salaryBillViewingLimitSetting.getMonthType();
|
||||
LocalDate localDate;
|
||||
if (monthType == MonthTypeEnum.SALARY_DATE) {
|
||||
localDate = LocalDate.now().plusMonths(-salaryBillViewingLimitSetting.getLimitMonth()+1).withDayOfMonth(1);
|
||||
localDate = LocalDate.now().plusMonths(-salaryBillViewingLimitSetting.getLimitMonth() + 1).withDayOfMonth(1);
|
||||
} else {
|
||||
localDate = LocalDate.now().plusMonths(-salaryBillViewingLimitSetting.getLimitMonth());
|
||||
}
|
||||
|
|
@ -1110,7 +1110,7 @@ public class SalarySendServiceImpl extends Service implements SalarySendService
|
|||
map.put("mobile", e.getMobile());
|
||||
map.put("dissmissdate", hrmDepartmentComInfo.getDismissdate());
|
||||
map.put("status", salaryAcctEmployee.getStatus());
|
||||
map.put("statusName", UserStatusEnum.getDefaultLabelByValue(Integer.valueOf(salaryAcctEmployee.getStatus())));
|
||||
map.put("statusName", UserStatusEnum.getDefaultLabelByValue(NumberUtils.toInt(salaryAcctEmployee.getStatus(), 1)));
|
||||
map.put("workcode", hrmDepartmentComInfo.getWorkcode());
|
||||
map.put("sex", "0".equals(hrmDepartmentComInfo.getSex()) ? "男" : "女");
|
||||
map.put("idNo", hrmDepartmentComInfo.getIdNo());
|
||||
|
|
|
|||
Loading…
Reference in New Issue