radius 动态列隐藏来导出Excel
This commit is contained in:
@@ -78,7 +78,7 @@ public class NtcCollectRadiusLogController extends BaseController {
|
||||
|
||||
//radius配置导出
|
||||
@RequestMapping(value = "exportRadius")
|
||||
public void exportRadius(@ModelAttribute("log") NtcCollectRadiusLog log, Model model, HttpServletRequest request, HttpServletResponse response,RedirectAttributes redirectAttributes){
|
||||
public void exportRadius(@ModelAttribute("log") NtcCollectRadiusLog log, Model model,String hColumns, HttpServletRequest request, HttpServletResponse response,RedirectAttributes redirectAttributes){
|
||||
try {
|
||||
//export data info
|
||||
List<String> titleList=new ArrayList<String>();
|
||||
@@ -114,7 +114,7 @@ public class NtcCollectRadiusLogController extends BaseController {
|
||||
}
|
||||
titleList.add("radius_log");
|
||||
classMap.put("radius_log", NtcCollectRadiusLog.class);
|
||||
String cfgIndexInfoNoExport="";
|
||||
String cfgIndexInfoNoExport=","+hColumns;
|
||||
noExportMap.put("radius_log",cfgIndexInfoNoExport);
|
||||
dataMap.put("radius_log",list);
|
||||
/*}*/
|
||||
@@ -125,4 +125,5 @@ public class NtcCollectRadiusLogController extends BaseController {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user