修改指标,登记
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.setApprover(user2.getId());
|
||||
organization.setLastId(user2.getUserName());
|
||||
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);
|
||||
if (ArgsConst.PERSONNEL_INDICATORS.equals(type)) {
|
||||
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);
|
||||
} 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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue