修改bug

This commit is contained in:
yangjun 2026-02-27 16:02:11 +08:00
parent 91517969c1
commit 7672e01ac0
1 changed files with 5 additions and 0 deletions

View File

@ -178,6 +178,9 @@ public class EmployeesApplyServiceImpl extends ServiceImpl<EmployeesApplyMapper,
mqdto.setOrgCode(orgCode);
//信息变更审批通过
if ("modifyPass".equals(employeesApply.getStatus())) {
EmployeesApply employeesApplyA = baseMapper.selectById(employeesApply.getEmployeeId());
mqdto.setModifyStatus("2");
//修改申请表此人的信息修改审核状态为通过
EmployeesApply eApply = new EmployeesApply();
@ -190,6 +193,8 @@ public class EmployeesApplyServiceImpl extends ServiceImpl<EmployeesApplyMapper,
BeanUtils.copyProperties(employeesApply, eInfo);
eInfo.setId(employeesApply.getEmployeeId());
eInfo.setModifyStatus("2");
eInfo.setStartTime(employeesApplyA.getStartTime());
eInfo.setEndTime(employeesApplyA.getEndTime());
employeesInfoService.updateById(eInfo);
//资源图片是在申请变更接收的mq中拉去的 这里不需要重复拉取了