checktaskaction.java

来自「workflow first jbpm」· Java 代码 · 共 64 行

JAVA
64
字号
package com.yuyanshan.struts;
import com.yuyanshan.service.Borrow;
/** 
 * @author yuyanshan E-mail: yuyanshan1@163.com 
 * @version 1.0 create_time:Jul 23, 2008 3:18:00 PM 
 * @class_explain: 
 */

public class CheckTaskAction extends BaseAction {
	private String tid;
	Borrow borrow ;
	private String type;
	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Borrow getBorrow() {
		return borrow;
	}

	public void setBorrow(Borrow borrow) {
		this.borrow = borrow;
	}

	public String getTid() {
		return tid;
	}

	public void setTid(String tid) {
		this.tid = tid;
	}

	public String pulltask() {
		
		return "pass";
	}
	
	
	
	public String managerGree() {
		String result = (String) this.getRequest("result");
		this.type = (String) this.getSession().getAttribute("type");
		if("1".equals(this.type)) {
			this.jbpmService.managerPass(tid, result) ;
		} else {
			this.jbpmService.bossPass(tid, result);
		}
		
		return "passManager" ;
	}
	
	public String showItem() {
		borrow = this.jbpmService.showBorrow(tid);
		if(null == borrow) {
			return "noshow"	;
		}
		return "show";
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?