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

📄 office_document_sending_createok.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
字号:
<%@ page errorPage="/vnex/ErrorPage.jsp" %>
<%@ page import="java.util.*" %>
<%@ page import="java.sql.Timestamp" %>
<%@ page import="com.vnex.intranet.workflow.document.value.SecurityType" %>
<%@ page import="com.vnex.intranet.workflow.document.value.InstancyType" %>
<%@ page import="com.vnex.intranet.workflow.document.value.DocumentSendValueBean" %>
<%@ page import="com.vnex.intranet.workflow.pub.value.WorkflowFileValueBean" %>
<%@ page import="com.vnex.intranet.util.*" %>
<%@ page import="com.vnex.intranet.workflow.util.WorkFlowType" %>


<jsp:useBean id="dsvb" scope="session" class="com.vnex.intranet.workflow.document.value.DocumentSendValueBean"/>
<jsp:useBean id="documentProxy" scope="application" class="com.vnex.intranet.workflow.document.proxy.DocumentProxyBean" />
<jsp:useBean id="BusinessName" scope="session" class="com.vnex.intranet.pub.BusinessSession" />
<%
    dsvb = ( DocumentSendValueBean )session.getAttribute( "document" );
%>
<jsp:setProperty name="dsvb" property="*" /> 
<%
             
    dsvb.setCreatorId( BusinessName.getEmpId() );    
    dsvb.setTypeId( WorkFlowType.DOCUMENT ); 
             
    String dtype = request.getParameter("instancyType");
    dsvb.setInstancyType( InstancyType.getInstance( Integer.parseInt(dtype) ) );
        
    String stype = request.getParameter("securityType");
    dsvb.setSecurityType( SecurityType.getInstance( Integer.parseInt(stype) ) );
    
    String [] aaaa= request.getParameterValues("stepNos");
    dsvb.setStepNos( aaaa );         
        
    if ( request.getParameter("type").equals("true" ) )
       documentProxy.createSendDoc( dsvb, true ); 
    else
       documentProxy.createSendDoc( dsvb, false ); 
    //清除session   
    session.removeAttribute( "document" );
%>
<jsp:forward page="/mainctrl/office/document/sentlist?type=2" />

⌨️ 快捷键说明

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