From 6ae421948271f8caa29f57757a1479d37df44103 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 5 Jul 2018 17:13:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8A=A5=E8=A1=A8=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/nis/domain/log/BaseReportLog.java | 12 - .../com/nis/domain/log/ReportResultLog.java | 3 + .../web/controller/report/TestController.java | 33 ++ src/main/webapp/WEB-INF/views/report/test.jsp | 407 ++++++++++++++++++ 4 files changed, 443 insertions(+), 12 deletions(-) create mode 100644 src/main/java/com/nis/web/controller/report/TestController.java create mode 100644 src/main/webapp/WEB-INF/views/report/test.jsp diff --git a/src/main/java/com/nis/domain/log/BaseReportLog.java b/src/main/java/com/nis/domain/log/BaseReportLog.java index 51482b128..7061da40e 100644 --- a/src/main/java/com/nis/domain/log/BaseReportLog.java +++ b/src/main/java/com/nis/domain/log/BaseReportLog.java @@ -9,20 +9,8 @@ package com.nis.domain.log; import java.util.Date; -import java.util.Map.Entry; -import javax.ws.rs.client.Invocation.Builder; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; - -import com.google.common.reflect.TypeToken; -import com.google.gson.Gson; import com.nis.domain.BaseEntity; -import com.nis.exceptions.MaatConvertException; -import com.nis.util.Constants; -import com.nis.util.StringUtils; -import com.nis.util.httpclient.ClientUtil; /** * @ClassName: BaseReportLog.java diff --git a/src/main/java/com/nis/domain/log/ReportResultLog.java b/src/main/java/com/nis/domain/log/ReportResultLog.java index 8af6ce0ca..3619cd8c4 100644 --- a/src/main/java/com/nis/domain/log/ReportResultLog.java +++ b/src/main/java/com/nis/domain/log/ReportResultLog.java @@ -96,4 +96,7 @@ public class ReportResultLog extends RestfulResult{ } return bean; } + public static void main(String[] args) { + + } } \ No newline at end of file diff --git a/src/main/java/com/nis/web/controller/report/TestController.java b/src/main/java/com/nis/web/controller/report/TestController.java new file mode 100644 index 000000000..837715e2e --- /dev/null +++ b/src/main/java/com/nis/web/controller/report/TestController.java @@ -0,0 +1,33 @@ +package com.nis.web.controller.report; + +import java.util.ArrayList; +import java.util.List; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; + +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.web.bind.annotation.ModelAttribute; +import org.springframework.web.bind.annotation.RequestMapping; + +import com.mysql.fabric.xmlrpc.base.Array; +import com.nis.domain.Page; +import com.nis.domain.configuration.IpPortCfg; +import com.nis.domain.log.NtcDnsLog; +import com.nis.web.controller.BaseController; + +@Controller +@RequestMapping("${adminPath}/report/test") +public class TestController extends BaseController { + + @RequestMapping("list") + public String list(@ModelAttribute("cfg") IpPortCfg cfg,Model model, HttpServletRequest request, HttpServletResponse response) { + Page page=new Page(request, response); + List list=new ArrayList(); + list.add(new IpPortCfg()); + page.setList(list); + model.addAttribute("page", page); + return "/report/test"; + } +} diff --git a/src/main/webapp/WEB-INF/views/report/test.jsp b/src/main/webapp/WEB-INF/views/report/test.jsp new file mode 100644 index 000000000..3d2053954 --- /dev/null +++ b/src/main/webapp/WEB-INF/views/report/test.jsp @@ -0,0 +1,407 @@ +<%@ page contentType="text/html;charset=UTF-8"%> +<%@ include file="/WEB-INF/include/taglib.jsp"%> + + +<spring:message code="test"></spring:message> + + + +
+ +

+ + +

+ +
+
+
+
+
+ + + + + + + + + +
+
+ + + + + + +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+ + + + +
+ +
+ + + +
+
+ +
+
+ +
+ +
+ +
+ <%--
+ + + + + + + + + + + + + + + +
时间数量业务类型
2018-07-05 15:0011
+
${page}
+
--%> +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
标签0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
性质0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
来文函号0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
性质0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
所属省所属市0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
所属国家0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
局点0点1点2点3点4点5点6点7点8点9点10点11点12点14点15点16点17点18点19点20点21点22点23点
+
${page}
+
+
+
+ +
+
+
+ + \ No newline at end of file