From bb2c6b82011080248d0d6a1f00beafa4e8eec870 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=B5=E5=86=AC=E6=A2=85?= Date: Mon, 17 Dec 2018 02:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bgp=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E5=BC=82=E5=B8=B8bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/nis/web/controller/log/ntc/BgpLogController.java | 4 ++-- src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/nis/web/controller/log/ntc/BgpLogController.java b/src/main/java/com/nis/web/controller/log/ntc/BgpLogController.java index 670c9367e..eb0125fa9 100644 --- a/src/main/java/com/nis/web/controller/log/ntc/BgpLogController.java +++ b/src/main/java/com/nis/web/controller/log/ntc/BgpLogController.java @@ -80,7 +80,7 @@ public class BgpLogController extends BaseController { // radius配置导出 @RequestMapping(value = "exportBgp") - public void exportBgp(@ModelAttribute("log") NtcBGPLog log, Model model, String hColumns, String type, + public void exportBgp(@ModelAttribute("log") NtcBGPLog log, Model model, String hColumns, String types, HttpServletRequest request, HttpServletResponse response, RedirectAttributes redirectAttributes) { System.out.println("进来了bgp"); try { @@ -125,7 +125,7 @@ public class BgpLogController extends BaseController { noExportMap.put("bgp_control", cfgIndexInfoNoExport); dataMap.put("bgp_control", list); /* } */ - if ("csv".equals(type)) { + if ("csv".equals(types)) { this._exportCsv(model, request, response, redirectAttributes, "bgp_control", titleList, classMap, dataMap, noExportMap); } else { diff --git a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp index cc5cf8108..b421a5d48 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp @@ -133,8 +133,8 @@