/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: ......
 * Generated at: 2021-02-07 02:20:23 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.help.workflow.function.flow;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.util.*;

public final class newWork_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");



      out.write("\r\n");
      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" >\r\n");
      out.write("<html>\r\n");
      out.write("<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE7\" />\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n");
      out.write("<title> </title>\r\n");
      out.write("    <META http-equiv=\"pragma\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"cache-control\" content=\"no-cache\">\r\n");
      out.write("    <META http-equiv=\"expires\" content=\"0\">\r\n");
      out.write("  \r\n");
      out.write("     <style type=\"text/css\">\r\n");
      out.write("<!--\r\n");
      out.write("-->\r\n");
      out.write("\r\n");
      out.write("body {\r\n");
      out.write("\tfont-size:12px;\r\n");
      out.write("\tmargin-left: 2px;\r\n");
      out.write("\tmargin-top: 0px;\r\n");
      out.write("\tmargin-right: 00px;\r\n");
      out.write("\tmargin-bottom: 0px;\r\n");
      out.write("}\r\n");
      out.write(".style30 {\r\n");
      out.write("\tfont-size: 14px;\r\n");
      out.write("\tfont-family: \"Courier New\", Courier, mono;\r\n");
      out.write("}\r\n");
      out.write(".style32 {color: #009900}\r\n");
      out.write("     .style33 {color: #FF0000}\r\n");
      out.write("     .STYLE34 {color: #CC9900}\r\n");
      out.write("     </style>\r\n");
      out.write("</head>\r\n");
      out.write("\r\n");
      out.write("<body>\r\n");
      out.write("<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td class=\"style30\">newWork( flowid ,   owner ,  subject ,  querymobile ,  level ,  rq,   data ,<em>thirdData , firstStepThirdData)</em></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr>\r\n");
      out.write("    <td><hr size=\"1\"></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<p>[<span class=\"style32\"  >说明</span>]&nbsp;按照指定的参数创建一个工作任务</p>\r\n");
      out.write("<p>&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"style33\">注意</span>：当生成工作任务后，本函数返回该任务的GUID，它是一个字符串，如果得到的返回值为 &quot;&quot; 表示没有正确生成工作自作任务。</p>\r\n");
      out.write("<p>&nbsp;&nbsp;&nbsp;&nbsp;<span class=\"style33\">查看错误提示</span>：当没有成功生成工作任务时，在应用服务器的日志中会有相应的错误提示。</p>\r\n");
      out.write("<p>[<span class=\"style32\"  >参看</span>]&nbsp;&nbsp;&nbsp;</p>\r\n");
      out.write("<p>[<span class=\"style32\">适用范围</span>] 　通常仅用于脚本中</p>\r\n");
      out.write("<p>[<span class=\"style32\">参数</span>]</p>\r\n");
      out.write("<table width=\"100%\" style=\"font-size:12px\" border=\"0\" cellpadding=\"3\" cellspacing=\"1\" bgcolor=\"#999999\">\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td width=\"14%\" nowrap><div align=\"center\">参数</div></td>\r\n");
      out.write("    <td width=\"9%\"><div align=\"center\">类型</div></td>\r\n");
      out.write("    <td width=\"77%\"><div align=\"center\">说明</div></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>flowid</td>\r\n");
      out.write("    <td nowrap>数字型<br>\r\n");
      out.write("    或<br>\r\n");
      out.write("    字符型</td>\r\n");
      out.write("    <td><p>工作流程类型的ID，在工作流程设置中可以查看这个ID，如下图：</p>\r\n");
      out.write("    <p><img src=\"../system/p1.jpg\" width=\"291\" height=\"93\"></p>\r\n");
      out.write("    <p>也允许是字符型 ，此时它表示的是流程的代码 </p></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>owner</td>\r\n");
      out.write("    <td nowrap>数字型</td>\r\n");
      out.write("    <td>流程起草人的ID，可以通过　userName2UserId 将操作员的登录名转换成操作员的ID </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>subject</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>工作的主题</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap><span class=\"style30\">querymobile</span></td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>允许通过手机查询的手机号</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>level</td>\r\n");
      out.write("    <td nowrap>数字型</td>\r\n");
      out.write("    <td>0 普通 1加急　 </td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>rq</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>yyyy.MM.dd 格式的字符串表示的日期，例如　&quot;2005.12.25&quot;</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap>data</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td><p>在新建工作中，如果需要填充一些附加数据，使用本参数来定义，详细参看<a href=\"#&#38468;&#21152;&#25968;&#25454;&#23450;&#20041;\">附加数据定义 </a></p>\r\n");
      out.write("    <p class=\"style33\">可以在 此参数中用 guid 指定生成工作的guid ,在生成工作流程数据时，本数据会插入到流程模板的主表中，如果指定了guid ，那么会先在主表中用id='{guid}'去检索数据，如果不存在则插入数据，所以可以通过指定guid来为已经存在的数据附加一个流程数据</p></td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap class=\"STYLE34\">thirdData</td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>[可选参数]。如果提供了，那么新工作记录oa_mywork.thirddata被设置成该值</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("  <tr bgcolor=\"#FFFFFF\">\r\n");
      out.write("    <td nowrap><span class=\"STYLE34\">firstStepThirdData</span></td>\r\n");
      out.write("    <td nowrap>字符型</td>\r\n");
      out.write("    <td>[可选参数]。如果提供了，那么新工作的受理记录表中，“起草”步骤对应的受理记录oa_mywork_process.thirddata被设置成该值</td>\r\n");
      out.write("  </tr>\r\n");
      out.write("</table>\r\n");
      out.write("<p>[<span class=\"style32\">返回值</span>]返回类型是字符串，返回新创建的工作的GUID</p>\r\n");
      out.write("<p>&nbsp;</p>\r\n");
      out.write("<p>[<strong>附加数据定义</strong><a name=\"附加数据定义\"></a>]</p>\r\n");
      out.write("<p>&nbsp;&nbsp;&nbsp;&nbsp;在新建工作中，如果需要填充一些附加数据，使用data参数进行定义。定义的格式如下：</p>\r\n");
      out.write("<p>&lt;<strong>col1</strong>&gt;value1&lt;/<strong>col1</strong>&gt;&lt;<strong>col2</strong>&gt;value2&lt;/<strong>col2</strong>&gt;&lt;<strong>col3</strong>&gt;value3&lt;/<strong>col3</strong>&gt;......</p>\r\n");
      out.write("<p><br>\r\n");
      out.write("  &nbsp;&nbsp;&nbsp;&nbsp;使用&lt;字段名&gt;和&lt;/字段名&gt;将字段的数据包起来。例如　&quot;&lt;name&gt;张三&lt;/name&gt;&lt;code&gt;zhangsan&lt;/code&gt;&quot;<br>\r\n");
      out.write("注意，上面的格式中并没有指定把数据填充到哪张表中，这是因为这些数据将被填充到模板的主表中（因为一个模板只有一张主表）。如果数据无法填充，或填充到的表不正确，请检查模板的数据库定义是否满足：1 至少有一张可更新的表，2 如果有多张表，必须有一个主表（master=&quot;true&quot;） 3 字段名称是否正确</p>\r\n");
      out.write("<p>&nbsp;</p>\r\n");
      out.write("<p>[<span class=\"style32\">示例</span>]</p>\r\n");
      out.write("<p><strong>var</strong> <strong>data</strong>=&quot;&lt;SWDJZH&gt;330100220203045450676&lt;/SWDJZH&gt;&lt;NSRMC&gt;系统软件&lt;/NSRMC&gt;&lt;JE&gt;23456.78&lt;/JE&gt;&quot;; </p>\r\n");
      out.write("<p><strong>newWork</strong>(1500005 , <a href=\"../infoconvert/userName2UserId.jsp\">userName2UserId</a>(&quot;zhangshan&quot;), &quot;办公通讯费用税前扣除申请明细表&quot; , &quot;13008888888&quot; , 1 ,<a href=\"../date/date2yyyymmdd.jsp\">date2yyyymmdd</a>(<a href=\"../date/currentDate.jsp\">currentDate</a>()), <strong>data</strong>) ;</p>\r\n");
      out.write("<p>&nbsp; </p>\r\n");
      out.write("<p><strong>newWork</strong>('abc' , <a href=\"../infoconvert/userName2UserId.jsp\">userName2UserId</a>(&quot;zhangshan&quot;), &quot;办公通讯费用税前扣除申请明细表&quot; , &quot;13008888888&quot; , 1 ,<a href=\"../date/date2yyyymmdd.jsp\">date2yyyymmdd</a>(<a href=\"../date/currentDate.jsp\">currentDate</a>()), <strong>data</strong>) ;</p>\r\n");
      out.write("<p></p>\r\n");
      out.write("<p>&nbsp; </p>\r\n");
      out.write("<p>&nbsp; </p>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
