zhangtao
laozt 1 year ago
parent a69f1ffb65
commit c94c306dbc

@ -58,10 +58,11 @@ public class BPlanEnterpriseController extends BaseController {
@Resource
private IBAdministrativeDivisionService bAdministrativeDivisionService;
/**
*
*/
@ApiOperation(value = "查询计划企业列表",response = BPlanEnterprise.class)
@ApiOperation(value = "查询计划企业列表", response = BPlanEnterprise.class)
@GetMapping("/list")
public AjaxResult list(BPlanEnterprise bPlanEnterprise) {
List<BPlanEnterprise> list = bPlanEnterpriseService.selectBPlanEnterpriseList(bPlanEnterprise);
@ -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);
ExcelUtil<BPlanEnterPriseTreeResponse> util = new ExcelUtil<BPlanEnterPriseTreeResponse>(BPlanEnterPriseTreeResponse.class);
util.exportExcel(response, list, "行政区划数据");
}
/**
*
*
@ -178,7 +176,7 @@ public class BPlanEnterpriseController extends BaseController {
* @return
*/
@GetMapping("/getZhifa")
@ApiOperation(value = "执法结果-企业详情",response = BPlanEnterpriseZhifaResponse.class)
@ApiOperation(value = "执法结果-企业详情", response = BPlanEnterpriseZhifaResponse.class)
public TableDataInfo getZhifa(@Valid checkResultRequest req) {
startPage();
return getDataTable(bPlanEnterpriseService.getZhifa(req));
@ -209,7 +207,7 @@ public class BPlanEnterpriseController extends BaseController {
List<BPlanEnterprise> list = bPlanEnterpriseService.selectBPlanEnterpriseList(bPlanEnterprise);
for (BPlanEnterprise a : list) {
String district = a.getDistrict();
String countyList = bAdministrativeService.getBydistinct(district);
String countyList = bAdministrativeService.getBydistinct(district);
a.setDistrict(countyList);
}
ExcelUtil<BPlanEnterprise> util = new ExcelUtil<BPlanEnterprise>(BPlanEnterprise.class);

Loading…
Cancel
Save