public void salesmanAudit(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_SALESMAN_AUDIT);

    String account = (String) delegateTask.getVariable("saleAcc");
    delegateTask.setAssignee(account);
  }
  public void contractHandle(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_CONTRACT_HANDLE);

    String account = (String) delegateTask.getVariable("operatorAcc");
    delegateTask.setAssignee(account);
  }
  public void professionalManagerAssess(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_PROFESSIONAL_MANAGER_ASSESS);

    String account = (String) delegateTask.getVariable("creatorAcc");
    delegateTask.setAssignee(account);
  }
  public void bidding(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_BIDDING);

    String account = (String) delegateTask.getVariable("operatorAcc");
    delegateTask.setAssignee(account);
  }
  public void settlement(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_SETTLEMENT);

    String account = (String) delegateTask.getVariable("operatorAcc");
    delegateTask.setAssignee(account);
  }
  public void inspect(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_INSPECT);

    String account = (String) delegateTask.getVariable("qcAcc");
    delegateTask.setAssignee(account);
  }
  public void manufacture(DelegateTask delegateTask) throws Exception {

    setTaskInfo(delegateTask, SrOsStatus.STATUS_MANUFACTURE);

    String account = (String) delegateTask.getVariable("operatorAcc");
    delegateTask.setAssignee(account);
  }
Example #8
0
 /**
  * @Description:这里用一句话描述这个方法的作用
  *
  * @param arg0
  * @author liuwu
  * @create_date 2015年10月28日 下午6:32:30
  */
 public void notify(DelegateTask delegateTask) {
   System.out.println("设置商务部经理*********************");
   delegateTask.setAssignee("zhouyp");
 }
Example #9
0
 /** 通过实现TaskListener接口的notify方法,指定任务(个人任务和组任务)的办理人 */
 @Override
 public void notify(DelegateTask delegateTask) {
   // 指定任务的办理人
   delegateTask.setAssignee("黄老邪");
 }