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