|
@ -1,13 +1,15 @@ |
|
|
package com.epmet.dataaggre.controller; |
|
|
package com.epmet.dataaggre.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.epmet.commons.tools.dto.result.ZhzlCategorySelectDTO; |
|
|
|
|
|
import com.epmet.commons.tools.enums.ZhzlResiCategoryEnum; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
import com.epmet.dataaggre.dto.govorg.form.CoverageAnalisisDataListFormDTO; |
|
|
import com.epmet.dataaggre.dto.govorg.form.CoverageAnalisisDataListFormDTO; |
|
|
import com.epmet.dataaggre.dto.govorg.result.CoverageAnalisisDataListResultDTO; |
|
|
import com.epmet.dataaggre.dto.govorg.result.CoverageAnalisisDataListResultDTO; |
|
|
import com.epmet.dataaggre.service.CoverageService; |
|
|
import com.epmet.dataaggre.service.CoverageService; |
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
import org.springframework.web.bind.annotation.RestController; |
|
@ -43,4 +45,13 @@ public class CoverageController { |
|
|
return new Result<PageData<CoverageAnalisisDataListResultDTO>>().ok(page); |
|
|
return new Result<PageData<CoverageAnalisisDataListResultDTO>>().ok(page); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* 综合治理图层页面,居民类别下拉框 |
|
|
|
|
|
* @return |
|
|
|
|
|
*/ |
|
|
|
|
|
@PostMapping("zhzl-category-option") |
|
|
|
|
|
public Result<List<ZhzlCategorySelectDTO>> queryZhzlCategorySelectOptions() { |
|
|
|
|
|
List<ZhzlCategorySelectDTO> list = ZhzlResiCategoryEnum.toSelectList(); |
|
|
|
|
|
return new Result<List<ZhzlCategorySelectDTO>>().ok(list); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|