停薪action

This commit is contained in:
Harryxzy 2023-06-15 15:23:54 +08:00
parent b30c08d3ff
commit 36fc2abffc
1 changed files with 4 additions and 1 deletions

View File

@ -126,7 +126,10 @@ public class StopSalaryAction implements Action {
// 停薪
getSalaryArchiveService(user).gotoStop(Collections.singletonList(updatePO.getId()));
}else{
// 待定薪员工
// 待定薪员工保存最后发薪日期
updatePO.setPayEndDate(SalaryDateUtil.stringToDate(importDataMap.get("最后发薪日期").toString()));
updatePO.setUpdateTime(new Date());
getSalaryArchiveMapper().update(updatePO);
getSalaryArchiveService(user).deletePendingTodo(Collections.singletonList(updatePO.getId()));
}
} catch (Exception e) {