Commit 8a05cdc3 authored by huyuchen's avatar huyuchen

huych-入职登记提交

parent ddc215a2
...@@ -695,6 +695,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr ...@@ -695,6 +695,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(registration)) { if (Common.isNotNull(registration)) {
registration.setProcessStatus(CommonConstants.THREE_STRING); registration.setProcessStatus(CommonConstants.THREE_STRING);
baseMapper.updateById(registration);
//新增拒绝入职操作记录 //新增拒绝入职操作记录
logService.saveLog(registration.getId(), CommonConstants.ZERO_STRING, RegistConstants.BACK_RECEIVE, LocalDateTime.now(), logService.saveLog(registration.getId(), CommonConstants.ZERO_STRING, RegistConstants.BACK_RECEIVE, LocalDateTime.now(),
updateVo.getEmployeeName(), "拒绝入职原因:" + updateVo.getReason()); updateVo.getEmployeeName(), "拒绝入职原因:" + updateVo.getReason());
...@@ -710,6 +711,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr ...@@ -710,6 +711,7 @@ public class EmployeeRegistrationServiceImpl extends ServiceImpl<EmployeeRegistr
.last(CommonConstants.LAST_ONE_SQL)); .last(CommonConstants.LAST_ONE_SQL));
if (Common.isNotNull(registration)) { if (Common.isNotNull(registration)) {
registration.setCustomerUsernameNew(updateVo.getCustomerUserName()); registration.setCustomerUsernameNew(updateVo.getCustomerUserName());
baseMapper.updateById(registration);
} }
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment