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

📄 acceptmanagerform.java

📁 实现了基本的oa功能:个人日志。。。
💻 JAVA
字号:
package oa.dailywork.controller.form;

import java.io.UnsupportedEncodingException;
import java.util.Date;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

/** 
 * MyEclipse Struts
 * Creation date: 07-07-2008
 * 
 * XDoclet definition:
 * @param <String>
 * @struts.form name="acceptManagerForm"
 */
public class AcceptManagerForm extends ActionForm  {
	/*
	 * Generated fields
	 */

	/** add_file property */
	private Long acceptid;
	
	private String processid;
	
	private String paction ;
	
	private String auditmsg;   //审批意见
	
	private String sel_result;  //审批结果
	
	private Long sel_first;//审稿列表下拉框一级菜单
	
	private String sel_second;//审稿列表下拉框二级菜单
	
	private String person; //审稿接受人
	
	private String draft_title; //公文标题
	
	private FormFile add_file;  //添加附件
	
	private String come_dep;  //来文部门
	
	private String come_no;  //来文编号
	
	private String sel_secret;  //秘级程度
	
	private String accept_date;  //收文日期
	
	private String main_content;  //拟稿事由
	
	private String draft_msg; //拟稿意见
	
	private String txt_mark;  //拟稿备注
	
	private Long processId; //意见ID

	private Long file_Id;  //公文ID

	private Long user_Id; //办理人ID

	private String command_Date; //审稿办结日期

	private String transaction_Process;   //处理意见

	private Long finished;  //是否通过
	
	private String state;
	
	/*
	 * Generated Methods
	 */
	
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

	public FormFile getAdd_file() {
		return add_file;
	}

	public void setAdd_file(FormFile add_file) {
		this.add_file = add_file;
	}

	public String getAccept_date() {
		return accept_date;
	}

	public void setAccept_date(String accept_date) {
		this.accept_date = accept_date;
	}

	public String getCome_dep() {
		return come_dep;
	}

	public void setCome_dep(String come_dep) {
		this.come_dep = come_dep;
	}

	public String getCome_no() {
		return come_no;
	}

	public void setCome_no(String come_no) {
		this.come_no = come_no;
	}

	public String getDraft_msg() {
		return draft_msg;
	}

	public void setDraft_msg(String draft_msg) {
		this.draft_msg = draft_msg;
	}

	public String getMain_content() {
		return main_content;
	}

	public void setMain_content(String main_content) {
		this.main_content = main_content;
	}

	public String getSel_secret() {
		return sel_secret;
	}

	public void setSel_secret(String sel_secret) {
		this.sel_secret = sel_secret;
	}

	public String getTxt_mark() {
		return txt_mark;
	}

	public void setTxt_mark(String txt_mark) {
		this.txt_mark = txt_mark;
	}

	public String getDraft_title() {
		return draft_title;
	}

	public void setDraft_title(String draft_title) {
		this.draft_title = draft_title;
	}
	public Long getSel_first() {
		return sel_first;
	}

	public void setSel_first(Long sel_first) {
		this.sel_first = sel_first;
	}

	public String getSel_second() {
		return sel_second;
	}

	public void setSel_second(String sel_second) {
		this.sel_second = sel_second;
	}

	public String getPerson() {
		return person;
	}

	public void setPerson(String person) {
		
		this.person = person;
	
//		try {
//			this.person = new String(person.getBytes("iso-8859-1"), "utf-8");
//		} catch (UnsupportedEncodingException e) {
//			// TODO Auto-generated catch block
//			e.printStackTrace();
//		}
		System.out.println(this.person+"--------------------------------");
	}

	public String getCommand_Date() {
		return command_Date;
	}

	public void setCommand_Date(String command_Date) {
		this.command_Date = command_Date;
	}

	public Long getFile_Id() {
		return file_Id;
	}

	public void setFile_Id(Long file_Id) {
		this.file_Id = file_Id;
	}

	public Long getFinished() {
		return finished;
	}

	public void setFinished(Long finished) {
		this.finished = finished;
	}

	public Long getProcessId() {
		return processId;
	}

	public void setProcessId(Long processId) {
		this.processId = processId;
	}

	public String getTransaction_Process() {
		return transaction_Process;
	}

	public void setTransaction_Process(String transaction_Process) {
		this.transaction_Process = transaction_Process;
	}

	public Long getUser_Id() {
		return user_Id;
	}

	public void setUser_Id(Long user_Id) {
		this.user_Id = user_Id;
	}

	public String getAuditmsg() {
		return auditmsg;
	}

	public void setAuditmsg(String auditmsg) {
		this.auditmsg = auditmsg;
	}

	public String getSel_result() {
		return sel_result;
	}

	public void setSel_result(String sel_result) {
		this.sel_result = sel_result;
	}

	public String getProcessid() {
		return processid;
	}

	public void setProcessid(String processid) {
		this.processid = processid;
	}

	public String getPaction() {
		return paction;
	}

	public void setPaction(String paction) {
		this.paction = paction;
	}

	public Long getAcceptid() {
		return acceptid;
	}

	public void setAcceptid(Long acceptid) {
		this.acceptid = acceptid;
	}
}

⌨️ 快捷键说明

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