package com.zehong.web.controller.common;

import com.zehong.common.core.domain.AjaxResult;
import com.zehong.system.service.IDistrictPlanningService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 行政区规划controller
 */
@RestController
@RequestMapping("/districtPlanning")
public class DistrictPlanningController {

    @Resource
    IDistrictPlanningService districtPlanningService;

    /**
     * 查询监督检查列表
     */
    @GetMapping("/listCountyByDict")
    public AjaxResult listCountyByDict(){
        return AjaxResult.success(districtPlanningService.listCountyByDict());
    }
}
