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

📄 task_pending_result.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ 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 %>" />

⌨️ 快捷键说明

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