zhangtao
laozt 1 year ago
parent a69f1ffb65
commit c94c306dbc

@ -58,6 +58,7 @@ public class BPlanEnterpriseController extends BaseController {
@Resource @Resource
private IBAdministrativeDivisionService bAdministrativeDivisionService; private IBAdministrativeDivisionService bAdministrativeDivisionService;
/** /**
* *
*/ */
@ -85,17 +86,14 @@ public class BPlanEnterpriseController extends BaseController {
* *
*/ */
@ApiOperation(value = "首页导出") @ApiOperation(value = "首页导出")
@GetMapping("/exportpage") @PostMapping("/exportpage")
public void exportpage(HttpServletResponse response, BPlanEnterprisePageRequest req) { public void exportpage(HttpServletResponse response, BPlanEnterprisePageRequest req) {
List<BPlanEnterPriseTreeResponse> list = bPlanEnterpriseService.getShouyeList(req); List<BPlanEnterPriseTreeResponse> list = bPlanEnterpriseService.getShouyeList(req);
ExcelUtil<BPlanEnterPriseTreeResponse> util = new ExcelUtil<BPlanEnterPriseTreeResponse>(BPlanEnterPriseTreeResponse.class); ExcelUtil<BPlanEnterPriseTreeResponse> util = new ExcelUtil<BPlanEnterPriseTreeResponse>(BPlanEnterPriseTreeResponse.class);
util.exportExcel(response, list, "行政区划数据"); util.exportExcel(response, list, "行政区划数据");
} }
/** /**
* *
* *

Loading…
Cancel
Save