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

📄 queryqueinfobymgrhurryaction.java

📁 日志管理源代码
💻 JAVA
字号:
/*
 * Generated by MyEclipse Struts
 * Template path: templates/java/JavaClass.vtl
 */

package com.log.struts.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.actions.DispatchAction;

import com.log.bo.NoResInfoBo;
import com.log.bo.QueInfoBo;

/** 
 * MyEclipse Struts
 * Creation date: 08-08-2007
 * 
 * XDoclet definition:
 * @struts.action
 */
public class QueryQueInfoByMgrHurryAction extends DispatchAction {
	/*
	 * Generated Methods
	 */

	/** 
	 * Method execute
	 * @param mapping
	 * @param form
	 * @param request
	 * @param response
	 * @return ActionForward
	 */
	
	public ActionForward preEdit(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		QueInfoBo bo=QueInfoBo.getInstance();
		try{
			String id=request.getParameter("id");			
			String[][] data=bo.queryQueInfo(id, "", "", -99, "", "");
			
			request.setAttribute("data", data);
			
		}catch(Exception e){
			System.out.println("Error in QueryQueInfoByMgrAction.add:"+e);
		}
		return mapping.findForward("preEdit");
	}
	
	
	public ActionForward hurry(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		QueInfoBo bo=QueInfoBo.getInstance();
		String state="0";
		String inputMan="";
		String queryman="";
		String begintime="";
		String endtime="";
		String workgroup="";
		String qstate="";
		String remark="";
		String cname="";
		String tradeName="";
		String hurryflag="1";
		String hurrytime="";
		try{
			String id=request.getParameter("id");
			inputMan=request.getParameter("inputman");			
			state=request.getParameter("state");		
			queryman=request.getParameter("queryman");
			begintime=request.getParameter("begintime");
			endtime=request.getParameter("endtime");
			workgroup=request.getParameter("workgroup");
			qstate=request.getParameter("qstate");
			hurrytime=request.getParameter("hurrytime");
			bo.updateQueryQueInfoHurry(id, inputMan, state, "", "","",hurryflag,hurrytime);
		}catch(Exception e){
			System.out.println("Error in QueryQueInfoByMgrHurryAction.edit:"+e);
		}
		return new ActionForward("/new/listQueInfoOfMgr.jsp?state="+state+
				"&queryMan="+queryman+"&beginTime="+begintime+"&endTime="+
				endtime+"&workGroup="+workgroup+"&qState="+qstate);
		//return mapping.findForward("list");
	}
}

⌨️ 快捷键说明

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