修改bgp导出异常bug
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user