111112113114115116117118119120121
/** * 我的待办任务 */ public String myTodoList(){ if( task == null ) task = new MyTask(); task.setAssignee( getLoginUser() ); //登录用户 taskPage = workflowManager.listTask(task,taskPage); return SUCCESS;
124125126127128129130131132133134
/** * 我的待办任务数 */ public String myTodoCount(){ if( task == null ) task = new MyTask(); task.setAssignee( getLoginUser() ); //登录用户 if( taskPage == null ) taskPage = new ListPage<Task>(); taskPage.setSize(0);
145146147148149150151152153154155
/** * 我的待签任务 */ public String myAssignList(){ if( task == null ) task = new MyTask(); task.setCandidateUser( getLoginUser() ); //当前登录用户 taskPage = workflowManager.listTask(task,taskPage); return SUCCESS;