📄 informationtotal_jsp.java
字号:
package org.apache.jsp;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import cn.com.aheadsoft.recordset.RecordGroupInfoRecordSet;
import cn.com.aheadsoft.recordset.RecordInfoRecordSet;
import java.util.GregorianCalendar;
import java.util.Calendar;
import cn.com.aheadsoft.util.StringFormat;
import cn.com.aheadsoft.util.UserInfo;
import cn.com.aheadsoft.manage.UserPurviewManage;
import cn.com.aheadsoft.business.PersonInfoBusiness;
import java.util.ArrayList;
import java.util.List;
import cn.com.aheadsoft.recordset.PersonInfoRecordSet;
public class informationtotal_jsp extends HttpJspBase {
private static java.util.Vector _jspx_includes;
public java.util.List getIncludes() {
return _jspx_includes;
}
public void _jspService(HttpServletRequest request, HttpServletResponse response)
throws java.io.IOException, ServletException {
JspFactory _jspxFactory = null;
javax.servlet.jsp.PageContext pageContext = null;
HttpSession session = null;
ServletContext application = null;
ServletConfig config = null;
JspWriter out = null;
Object page = this;
JspWriter _jspx_out = null;
try {
_jspxFactory = JspFactory.getDefaultFactory();
response.setContentType("text/html;charset=GB2312");
pageContext = _jspxFactory.getPageContext(this, request, response,
null, true, 8192, true);
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");
//add by tang 2004.07.13增加知识管理的查询功能begin
String RI_RecordNumber=(String)request.getAttribute("RI_RecordNumber");
String RI_RecordName=(String)request.getAttribute("RI_RecordName");
String RI_PublishTime=(String)request.getAttribute("RI_PublishTime");
//add by tang 2004.07.13增加知识管理的查询功能end
int num = 1;
int total = 0;
RecordGroupInfoRecordSet marketset = (RecordGroupInfoRecordSet)request.getAttribute("marketset");
List Count = (ArrayList)request.getAttribute("Count");
RecordGroupInfoRecordSet technologyset = (RecordGroupInfoRecordSet)request.getAttribute("technologyset");
List Count1 = (ArrayList)request.getAttribute("Count1");
RecordGroupInfoRecordSet manageset = (RecordGroupInfoRecordSet)request.getAttribute("manageset");
List Count2 = (ArrayList)request.getAttribute("Count2");
RecordGroupInfoRecordSet saleset = (RecordGroupInfoRecordSet)request.getAttribute("saleset" );
List Count3 = (ArrayList)request.getAttribute("Count3");
RecordGroupInfoRecordSet capitalset = (RecordGroupInfoRecordSet)request.getAttribute("capitalset");
List Count4 = (ArrayList)request.getAttribute("Count4");
marketset.beforefirst();
technologyset.beforefirst();
manageset.beforefirst();
saleset.beforefirst();
capitalset.beforefirst();
out.write("\r\n");
out.write("<html>\r\n");
out.write("<head>\r\n");
out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\"/>");
out.write("<link rel=\"stylesheet\" type=\"text/css\" href=\"/krm/jsp/css/css.css\">\r\n");
out.write("<title>知识管理页");
out.write("</title>\r\n");
out.write("</head>\r\n");
out.write("<script src=\"/krm/jsp/jscript/Calendar.js\">");
out.write("</script>\r\n");
out.write("<script>\r\n");
out.write("<!--//add by tang 2004.07.13增加知识管理的查询功能begin-->\r\nfunction MonthAnalysis() {\r\n document.MIform.submit();\r\n}\r\n\tfunction changeRI_PublishTime(){\r\n\t\tdocument.MIform.RI_PublishTime.disabled=!document.MIform.chRI_PublishTime.checked;\t\t\t\r\n\t}\r\n\tfunction changeRI_RecordName(){\r\n\t\tdocument.MIform.RI_RecordName.disabled=!document.MIform.chRI_RecordName.checked;\t\t\r\n\t}\t\r\n\tfunction changeRI_RecordNumber(){\r\n\t document.MIform.RI_RecordNumber.disabled=!document.MIform.chRI_RecordNumber.checked;\t\r\n\t}\r\n\tfunction atDelete() {\r\n\t\treturn confirm(\"您确定要删除吗?\");\r\n\t}\t\r\n\tfunction Jumping(){\r\n document.PageForm.submit();\r\n return ;\r\n}\r\n");
out.write("</SCRIPT>\r\n");
out.write("<!--//add by tang 2004.07.13增加知识管理的查询功能end-->\r\n");
out.write("<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" >\r\n");
out.write("<table width=\"100%\" align=\"center\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" >\r\n ");
out.write("<tr >\r\n\t");
out.write("<td class=\"trA\"> 您的位置:知识管理 >> ");
out.write("<font class=\"fontcolor\">信息库");
out.write("</font>\r\n\t");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr height=\"8\">\r\n\t");
out.write("<td>");
out.write("</td>\r\n ");
out.write("</tr> \r\n ");
out.write("<tr>\r\n ");
out.write("<td align=\"center\" >\r\n");
out.write("<!--//add by tang 2004.07.13增加知识管理的查询功能begin-->\r\n ");
out.write("<table border=\"0\" width=\"98%\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\r\n ");
out.write("<form name=\"MIform\" method=\"post\" action=\"/krm/servlet/RecordInfoServlet?module=in&&status=q&&queryterm=obtain&&libtype=in&&topage=1&&grouptype=1&&back=1\">\r\n ");
out.write("<tr class=\"common\" > \r\n ");
out.write("<td>");
out.write("<input type=\"checkbox\" name=\"chRI_RecordNumber\" value=\"\" onClick=\"changeRI_RecordNumber()\" >\r\n 编号 ");
out.write("<input type=\"text\" name=\"RI_RecordNumber\" style=\"font-size:9pt;font-color:#FFFFFF;width:50\" class=\"middle\" ");
if((RI_RecordNumber!=null)&&!(RI_RecordNumber.equals(""))){
out.write(" value=");
out.print(RI_RecordNumber);
}
out.write(" disabled > \r\n ");
out.write("<input type=\"checkbox\" name=\"chRI_RecordName\" value=\"\" onClick=\"changeRI_RecordName()\" >\r\n 名称 ");
out.write("<input type=\"text\" name=\"RI_RecordName\" style=\"font-size:9pt;font-color:#FFFFFF;width:120\" class=\"middle\" ");
if((RI_RecordName!=null)&&!(RI_RecordName.equals(""))){
out.write(" value=");
out.print(RI_RecordName);
}
out.write(" disabled > \r\n ");
out.write("<input type=\"checkbox\" name=\"chRI_PublishTime\" value=\"\" onClick=\"changeRI_PublishTime()\" >\r\n 出版时间 ");
out.write("<input type=\"text\" name=\"RI_PublishTime\" style=\"font-size:9pt;font-color:#FFFFFF;width:70\" class=\"middle\" ");
if((RI_PublishTime!=null)&&!(RI_PublishTime.equals(""))){
out.write(" value=");
out.print(RI_PublishTime);
}
out.write(" disabled> \r\n ");
out.write("<a href=\"javascript:show_calendar('MIform.RI_PublishTime');\">");
out.write("<image src=\"/krm/jsp/image/selectdate.gif\" border=\"0\">");
out.write("</a> \r\n ");
out.write("<input type=\"button\" value=\"查 询\" onmouseover=\"this.className='button2'\" onmouseout=\"this.className='button1'\" class=\"button1\" onClick=\"javascript:MonthAnalysis();\"> \r\n ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("</form>\r\n ");
out.write("</table> \r\n");
out.write("<!--//add by tang 2004.07.13增加知识管理的查询功能end-->\r\n ");
out.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"98%\" align=\"center\" class=\"collapse\">\r\n ");
out.write("<tr > \r\n ");
out.write("<td class=\"tdA\" colspan=\"5\"> \r\n 信息库信息统计 ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
out.write("<tr > \r\n ");
out.write("<td align=\"center\" class=\"tdB\" width=\"32\" nowrap>序号");
out.write("</td>\r\n ");
out.write("<td align=\"center\" class=\"tdB\" width=\"45\" nowrap>类别");
out.write("</td>\r\n ");
out.write("<td align=\"left\" width=\"102\" class=\"tdB\" > 目录");
out.write("</td>\r\n \r\n ");
out.write("<td width=\"736\" align=\"center\" class=\"tdB \">说明");
out.write("</td>\r\n ");
out.write("<td width=\"58\" align=\"right\" class=\"tdB\">信息库 ");
out.write("</td>\r\n ");
out.write("</tr>\r\n ");
if((null != marketset) && (marketset.size() != 0))
{
out.write("\r\n ");
out.write("<tr > \r\n ");
out.write("<td align=\"center\" class=\"common\" width=\"32\" >");
out.print(num++);
out.write("</td>\r\n ");
out.write("<td align=\"center\" class=\"common\" width=\"45\">");
out.write("<a href=\"/krm/servlet/RecordGroupInfoServlet?module=in&&status=q&&queryterm=group&&libtype=in&&grouptype=1\">市场");
out.write("</a>");
out.write("</td> \r\n\t ");
out.write("<td align=\"center\" colspan=\"3\" >\r\n\t\t\t");
out.write("<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"left\" class=\"collapse\">\r\n ");
int i=0;
while(marketset.next()){
if(Count.get(i)!=null)
total=total+Integer.parseInt((String)Count.get(i));
out.write("\r\n ");
out.write("<td align=\"left\" class=\"common\" width=\"101\" > ");
out.write("<a href=\"/krm/servlet/RecordInfoServlet?module=");
out.print(marketset.getRGI_CategoryBelong());
out.write("&&status=q&&queryterm=obtain&&topage=1&&id=");
out.print(marketset.getRGI_CategoryID());
out.write("&&libtype=");
out.print(marketset.getRGI_CategoryBelong());
out.write("&&grouptype=1&&back=1\">");
out.print(StringFormat.changeHTMLTags(marketset.getRGI_CategoryName()));
out.write("</a>");
out.write("</td>\r\n ");
out.write("<td align=\"left\" class=\"common\" > ");
out.print(StringFormat.changeHTMLTags(marketset.getRGI_CategoryDescrible()));
out.write("</td>\r\n ");
out.write("<td align=\"center\" class=\"common\" width=\"41\">");
out.write("<a href=\"/krm/servlet/RecordInfoServlet?module=");
out.print(marketset.getRGI_CategoryBelong());
out.write("&&status=q&&queryterm=obtain&&topage=1&&id=");
out.print(marketset.getRGI_CategoryID());
out.write("&&libtype=");
out.print(marketset.getRGI_CategoryBelong());
out.write("&&grouptype=1&&back=1\">");
out.print((String)Count.get(i));
out.write(" \r\n ");
out.write("</a>");
out.write("</td>\t\t\t\r\n ");
out.write("</tr>\r\n\t\t ");
i++;
}
out.write("\r\n ");
out.write("</table>\r\n\t\t\t");
out.write("</td>\r\n\t\t\t");
out.write("</tr>\r\n \t ");
}
out.write("\r\n ");
if((null != technologyset) && (technologyset.size() != 0))
{
out.write("\r\n ");
out.write("<tr class=\"bgcolor\"> \r\n ");
out.write("<td align=\"center\" class=\"common\" width=\"32\" >");
out.print(num++);
out.write("</td>\r\n ");
out.write("<td align=\"center\" class=\"common\" width=\"45\">");
out.write("<a href=\"/krm/servlet/RecordGroupInfoServlet?module=kn&&status=q&&queryterm=group&&libtype=kn&&grouptype=2\" >技术");
out.write("</a>");
out.write("</td> \r\n\t ");
out.write("<td align=\"center\" colspan=\"3\" >\r\n\t\t\t");
out.write("<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"left\" class=\"collapse\">\r\n \t\t ");
int i1=0;
while(technologyset.next()){
if(Count1.get(i1)!=null)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -