⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 checktaskaction.java

📁 workflow first jbpm
💻 JAVA
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -