task_pending_result.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:2k
源码类别:
电子政务应用
开发平台:
Java
- <%@ include file="/vnex/head.jsp"%>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="com.vnex.intranet.workflow.pub.value.*" %>
- <%@ page import="com.vnex.intranet.workflow.pub.process.*" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.SubTaskStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.ExecutorStatus" %>
- <%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>
- <%@ page import="com.vnex.intranet.workflow.util.SubTaskType" %>
- <jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
- <jsp:useBean id="proxy" scope="session" class="com.vnex.intranet.workflow.taskpending.proxy.TaskPendingProxyBean" />
- <jsp:useBean id="click" scope="session" class="com.vnex.intranet.workflow.pub.value.SubTaskValueBean" />
- <jsp:useBean id="subtaskDao" scope="request" class="com.vnex.intranet.workflow.pub.process.SubTaskDao" />
- <%
- SubTaskValueBean s = (SubTaskValueBean)session.getAttribute("click");
- int workflowId = Integer.parseInt(request.getParameter("workflowId"));
- int subtaskId = Integer.parseInt(request.getParameter("subtaskId"));
- int workflowtypeId = Integer.parseInt(request.getParameter("workflowtypeId"));
- int subtasktypeId = Integer.parseInt(request.getParameter("subtasktypeId"));
- int execId = Integer.parseInt(request.getParameter("execId"));
- int querytype = Integer.parseInt(request.getParameter("querytype"));
- int statusId = Integer.parseInt(request.getParameter("statusId"));
- String notes = request.getParameter("subNote");
- proxy.setStatus(workflowId,subtaskId,subtasktypeId,execId,statusId);
- SubTaskDao dao = new SubTaskDao();
- SubTaskValueBean sub = dao.getSubTask(subtaskId);
- sub.setSubNote(notes);
- sub.setSubFiles(s.getSubFiles());
- proxy.UpdateSubtask(sub);
- String link = "";
- link = "/mainctrl/taskpending/taskPendingList?querytype="+querytype ;
- sub = dao.getSubTask(subtaskId);
- %>
- <jsp:forward page="<%= link %>" />