Exemplo n.º 1
0
  public void settlementApprove(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_SETTLEMENT_APPROVE);

    UserInfoVo assignee = new UserInfoVo();
    assignee.setPorgName("修船事业部");
    assignee.setRoleName("修船外协科科长");
    List<UserInfoVo> list = listAssignees(assignee);
    delegateTask.addCandidateUsers(getCandidateUsers(list));
  }
Exemplo n.º 2
0
  public void outsourceChiefAudit(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_OUTSOURCE_CHIEF_AUDIT);

    UserInfoVo assignee = new UserInfoVo();
    assignee.setPorgName("修船事业部");
    assignee.setRoleName("修船外协科科长");
    List<UserInfoVo> list = listAssignees(assignee);
    delegateTask.addCandidateUsers(getCandidateUsers(list));
  }
Exemplo n.º 3
0
  public void inspectChiefHandle(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_INSPECT_CHIEF_HANDLE);

    UserInfoVo assignee = new UserInfoVo();
    assignee.setPorgName("修船事业部");
    assignee.setRoleName("修船技术质量科科长");
    List<UserInfoVo> list = listAssignees(assignee);
    delegateTask.addCandidateUsers(getCandidateUsers(list));
  }
Exemplo n.º 4
0
  public void businessDivisionDirectorApprove(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_BUSINESS_DIVISION_DIRECTOR_APPROVE);

    // 通过CandidateUsers配置多个经营结算员
    UserInfoVo assignee = new UserInfoVo();
    assignee.setPorgName("修船事业部");
    assignee.setRoleName("修船事业部部长");
    List<UserInfoVo> list = listAssignees(assignee);
    delegateTask.addCandidateUsers(getCandidateUsers(list));
  }