|
|
|
@ -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));
|
|
|
|
|