Commit 10262939 by jiang'yun

修改

parent 8982dca6
...@@ -257,12 +257,13 @@ public class DjdcController { ...@@ -257,12 +257,13 @@ public class DjdcController {
public void export(HttpServletResponse response, CommonParam param) public void export(HttpServletResponse response, CommonParam param)
{ {
String path = param.getPath(); String path = param.getExportPath();
switch (path) { switch (path) {
case "exportLjjw": case "exportLjjw":
List<Ljjw> ljjwList2 = djdcService.getLjjwList(param); List<Ljjw> ljjwList2 = djdcService.getLjjwList(param);
ExcelUtil<Ljjw> util = new ExcelUtil<Ljjw>(Ljjw.class); ExcelUtil<Ljjw> util = new ExcelUtil<Ljjw>(Ljjw.class);
util.exportExcel(response, ljjwList2, "Sheet1"); util.exportExcel(response, ljjwList2, "Sheet1");
default: default:
} }
......
...@@ -12,6 +12,8 @@ public class CommonParam { ...@@ -12,6 +12,8 @@ public class CommonParam {
//接口路径 //接口路径
private String path; private String path;
//导出接口路径
private String exportPath;
//井号 //井号
private String jh; private String jh;
//井型 //井型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment