修改指标,登记
This commit is contained in:
parent
e956b22dcb
commit
1a7a1ce696
|
@ -142,13 +142,23 @@ public class OrganizationServiceImpl extends BaseService<OrganizationMapper, Org
|
||||||
audit.setAuditOrder(ArgsConst.WAITING);
|
audit.setAuditOrder(ArgsConst.WAITING);
|
||||||
audit.setApprover(user2.getId());
|
audit.setApprover(user2.getId());
|
||||||
organization.setLastId(user2.getUserName());
|
organization.setLastId(user2.getUserName());
|
||||||
WorkFlowNotice workFlowNotice = new WorkFlowNotice();
|
if (ArgsConst.PERSONNEL_INDICATORS.equals(type)) {
|
||||||
workFlowNotice.setStatus(Boolean.FALSE);
|
WorkFlowNotice workFlowNotice = new WorkFlowNotice();
|
||||||
workFlowNotice.setFlowType(ArgsConst.PERSONNEL_INDICATORS);
|
workFlowNotice.setStatus(Boolean.FALSE);
|
||||||
workFlowNotice.setUserId(user2.getId());
|
workFlowNotice.setFlowType(ArgsConst.PERSONNEL_INDICATORS);
|
||||||
workFlowNotice.setTitle(user.getUserName() + "的指标申报待你审批");
|
workFlowNotice.setUserId(user2.getId());
|
||||||
workFlowNotice.setFlowId(organization.getId());
|
workFlowNotice.setTitle(user.getUserName() + "的指标申报待你审批");
|
||||||
workFlowNoticeService.save(workFlowNotice);
|
workFlowNotice.setFlowId(organization.getId());
|
||||||
|
workFlowNoticeService.save(workFlowNotice);
|
||||||
|
} else {
|
||||||
|
WorkFlowNotice workFlowNotice = new WorkFlowNotice();
|
||||||
|
workFlowNotice.setStatus(Boolean.FALSE);
|
||||||
|
workFlowNotice.setFlowType(ArgsConst.PERSONNEL_INDICATORS);
|
||||||
|
workFlowNotice.setUserId(user2.getId());
|
||||||
|
workFlowNotice.setTitle(user.getUserName() + "的招聘登记待你审批");
|
||||||
|
workFlowNotice.setFlowId(organization.getId());
|
||||||
|
workFlowNoticeService.save(workFlowNotice);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
auditMapper.insert(audit);
|
auditMapper.insert(audit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue