修改bgp导出异常bug

This commit is contained in:
段冬梅
2018-12-17 02:59:29 +08:00
parent 159ae6715f
commit bb2c6b8201
2 changed files with 4 additions and 4 deletions

View File

@@ -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 {