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

📄 dms_0002fdocument_0002fsearchdoclist_0002ejsp_jsp.java

📁 dgbas公文管理核心java源码
💻 JAVA
字号:
package DMS.document;

import com.jasson.business.document.FindDocDAO;
import com.jasson.common.ExtendString;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;


public class DMS_0002fdocument_0002fSearchDocList_0002ejsp_jsp extends HttpJspBase {


    static {
    }
    public DMS_0002fdocument_0002fSearchDocList_0002ejsp_jsp( ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws org.apache.jasper.runtime.JspException {
    }

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

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                synchronized (this) {
                    if (_jspx_inited == false) {
                        _jspx_init();
                        _jspx_inited = true;
                    }
                }
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=big5");
            pageContext = _jspxFactory.getPageContext(this, request, response,
            			"", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(0,26);to=(1,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(1,48);to=(2,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(2,60);to=(3,0)]
                out.write("\r\n");

            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(3,50);to=(36,0)]
                out.write("\r\n<html>\r\n<head>\r\n<title>公文管理系統</title>\r\n<style type=\"text/css\">\r\n<!--\r\n.smallfont { font-size: 9pt}\r\n-->\r\nTD\r\n{\r\n   FONT-SIZE: 12px;\r\n   BORDER: #000000 1px solid\r\n}\r\n\r\n</style>\r\n<script language=\"JavaScript\">\r\nfunction SelectAll(IsChecked)\r\n{\r\n   if (!document.all.item(\"FileIDs\"))\r\n      return ;\r\n   var a = document.all.item(\"FileIDs\");\r\n   if (a!=null)\r\n   {\r\n      if (a.length!=null)\r\n         for (i=0; i<a.length; i++)\r\n            a(i).checked=IsChecked;\r\n      else\r\n            a.checked=IsChecked;\r\n   }\r\n}\r\n</script>\r\n</head>\r\n<body  eftmargin=\"0\" topmargin=\"0\" bgColor=LightYellow>\r\n");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(36,2);to=(39,0)]
                
                FindDocDAO[]  findDocDAO = (FindDocDAO[])request.getAttribute("findDocDAO");
                ExtendString ExStr=new ExtendString();
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(39,2);to=(46,10)]
                out.write("\r\n\r\n<form name=\"form\" method=\"post\" action=\"\">\r\n  <table width=\"663\">\r\n          <tr class=\"title\">\r\n            <td width=\"30%\" >\r\n         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n         共");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(46,13);to=(46,30)]
                out.print(findDocDAO.length);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(46,32);to=(77,0)]
                out.write("筆\r\n\r\n            </td>\r\n            <td width=\"70%\" align=\"center\" >\r\n          當前位置:公文查詢結果\r\n            </td>\r\n          </tr>\r\n        </table>\r\n\r\n  <table  id=\"table1\" style=\"position:absolute; left: 6px; width: 663px;\">\r\n    <tr class=\"title\">\r\n      <td width=\"19\" align=\"center\"><b>速</b></td>\r\n      <td width=\"18\" align=\"center\"><b>密</b></td>\r\n      <td width=\"66\" align=\"center\"><b>文號/</b><br>主旨</b></td>\r\n      <td  align=\"center\"><b>來文<br>字號</b></td>\r\n      <td  align=\"center\"><b>來文<br>日期</b></td>\r\n      <td align=\"center\"><b>承辦單位</b></td>\r\n      <td align=\"center\"><b>承辦人</b></td>\r\n      <td  align=\"center\"><b>發文<br>字號</b></td>\r\n      <td><b>公文位置</b></td>\r\n      <td><b>年度號</b></td>\r\n      <td><b>檔號</b></td>\r\n      <td width=\"36\" align=\"center\"><b>流程</b></td>\r\n\r\n       <td align=\"center\" valign=\"middle\">\r\n      <input type=checkbox name=CK onclick=SelectAll(this.checked) title=\"全選或取消\">\r\n      </td>\r\n      <td   width=\"95\"  align=\"center\">作業處理</td>\r\n\r\n    </tr>\r\n\r\n");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(77,2);to=(114,0)]
                
                
                   String FileNo="";
                   String ArchDate="";
                   String SpeedName="",UndertakeUserName="",IssueDate="",SecretName="",Subject="";
                   String ReceWord="";
                   String ReceNO="";
                   String ReceDate="";
                   String SendWord="";
                   String SendNO="";
                   String SendDate="";
                   String UndertakeDeptName="";
                
                
                    if (findDocDAO.length>0)
                    {
                        for(int k=0;k<findDocDAO.length;k++)
                        {
                
                            FileNo=ExStr.nullToSpace(findDocDAO[k].getFileNO());
                            ReceWord=ExStr.nullToSpace(findDocDAO[k].getIssueWord());
                            ReceNO=ExStr.nullToSpace(findDocDAO[k].getIssueNO());
                            SendWord=ExStr.nullToSpace(findDocDAO[k].getSendWord());
                            SendNO=ExStr.nullToSpace(findDocDAO[k].getSendNO());
                
                            SpeedName=ExStr.nullToSpace(findDocDAO[k].getSpeedName());
                            SecretName=ExStr.nullToSpace(findDocDAO[k].getSecretName());
                            IssueDate=ExStr.nullToSpace(String.valueOf(findDocDAO[k].getIssueDate()));
                
                
                            UndertakeUserName=ExStr.nullToSpace(findDocDAO[k].getUndertakeUserName());
                            UndertakeDeptName=ExStr.nullToSpace(findDocDAO[k].getUndertakeDeptName());
                
                            Subject=ExStr.nullToSpace(findDocDAO[k].getSubject());
                            SendDate=ExStr.nullToSpace(String.valueOf(findDocDAO[k].getSendTime()));
                
                
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(114,2);to=(116,60)]
                out.write("\r\n    <tr class=\"td_bg\">\r\n      <td  align=\"center\" rowspan=\"2\"><font color=\"008000\">*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(116,63);to=(116,72)]
                out.print(SpeedName);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(116,74);to=(117,39)]
                out.write("</font></td>\r\n      <td  align=\"center\" rowspan=\"2\">*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(117,42);to=(117,52)]
                out.print(SecretName);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(117,54);to=(118,10)]
                out.write("</td>\r\n      <td>");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(118,13);to=(118,19)]
                out.print(FileNo);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(118,21);to=(119,10)]
                out.write("號 </td>\r\n      <td>");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(119,13);to=(119,21)]
                out.print(ReceWord);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(119,23);to=(119,25)]
                out.write("字第");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(119,28);to=(119,34)]
                out.print(ReceNO);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(119,36);to=(120,12)]
                out.write("號 </td>\r\n      <td >*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(120,15);to=(120,24)]
                out.print(IssueDate);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(120,26);to=(121,12)]
                out.write("</td>\r\n      <td >*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(121,15);to=(121,32)]
                out.print(UndertakeDeptName);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(121,34);to=(122,12)]
                out.write("</td>\r\n      <td >*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(122,15);to=(122,32)]
                out.print(UndertakeUserName);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(122,34);to=(123,12)]
                out.write("</td>\r\n      <td >*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(123,15);to=(123,23)]
                out.print(SendWord);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(123,25);to=(123,27)]
                out.write("字第");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(123,30);to=(123,36)]
                out.print(SendNO);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(123,38);to=(125,8)]
                out.write("號</td>\r\n      <td >\r\n        ");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(125,10);to=(130,8)]
                
                            if(findDocDAO[k].getState()==true)
                                 out.print("已歸檔");
                            else
                                 out.print("未歸檔");
                        
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(130,10);to=(132,26)]
                out.write("\r\n      </td>\r\n      <td align=\"center\" >");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(132,29);to=(132,93)]
                out.print(ExStr.nullToSpace(String.valueOf(findDocDAO[k].getArchYearNO())));
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(132,95);to=(135,7)]
                out.write("</td>\r\n\r\n      <td align=\"center\" >*\r\n       ");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(135,10);to=(135,70)]
                out.print(ExStr.nullToSpace(String.valueOf(findDocDAO[k].getArchID())));
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(135,72);to=(138,94)]
                out.write("\r\n      </td>\r\n      <td width=\"36\" align=\"center\"><a href=\"\">>></a></td>\r\n      <td width=\"19\" align=\"center\" rowspan=\"2\"><input type=\"checkbox\" name=\"FileIDs\"  value=\"");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(138,97);to=(138,122)]
                out.print(findDocDAO[k].getFileNO());
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(138,124);to=(143,24)]
                out.write("\"></td>\r\n</td>\r\n</td>\r\n      <tr>\r\n     <td colspan=\"11\"  >\r\n     <font color=\"red\">*");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(143,27);to=(143,34)]
                out.print(Subject);
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(143,36);to=(144,0)]
                out.write("</font>\r\n");

            // end
            // begin [file="/DMS/document/SearchDocList.jsp";from=(144,2);to=(147,0)]
                
                        }
                    }
            // end
            // HTML // begin [file="/DMS/document/SearchDocList.jsp";from=(147,2);to=(161,7)]
                out.write("\r\n</td>\r\n</tr>\r\n  </table>\r\n  <div bgcolor=\"\" id=\"divBtn\" name=\"divBtn\" style=\"position:absolute;top:100px;left:590px\">\r\n    <div align=\"left\">\r\n      <input type=\"button\" name=\"button2\" value=返回 class=\"button\" style=\"HEIGHT: 30px; WIDTH: 80px\" onclick=\"window.history.back()\">\r\n      <br>\r\n      <input type=\"button\" name=\"button2\" value=列印 class=\"button\" style=\"HEIGHT: 30px; WIDTH: 80px\" onclick=\"printFlowList()\">\r\n    </div>\r\n  </div>\r\n</form>\r\n\r\n</body>\r\n</html>");

            // end

        } catch (Throwable t) {
            if (out != null && out.getBufferSize() != 0)
                out.clearBuffer();
            if (pageContext != null) pageContext.handlePageException(t);
        } finally {
            if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
        }
    }
}

⌨️ 快捷键说明

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