新增1不透水面信息,扩张方位

This commit is contained in:
songjinsheng
2022-07-01 14:26:04 +08:00
parent 9665ec2690
commit b94ce7f31b
7 changed files with 318 additions and 2 deletions

View File

@ -1,7 +1,10 @@
package com.ruoyi.web.controller.yada;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.framework.web.domain.Server;
import com.ruoyi.system.domain_yada.CityFocusVO;
import com.ruoyi.system.domain_yada.CityInformation;
import com.ruoyi.system.domain_yada.OrientationVO;
import com.ruoyi.system.service_yada.ICityExpandService;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestMapping;
@ -25,11 +28,43 @@ public class CityExpandControllerr
@Resource
private ICityExpandService service;
/**
* 获取城市扩张方位
* @param city
* @param cityCh
* @param year
* @return
*/
@RequestMapping(value = "/selectCityExpand",method = {RequestMethod.GET})
public AjaxResult selectCityExpand(@Param("city") String city,@Param("cityCh") String cityCh,
@Param("year") String year)
public AjaxResult selectCityExpand(String city,String cityCh, String year)
{
List<CityFocusVO> value=service.selectExpand(city,cityCh,year);
return AjaxResult.success(value);
}
/**
* 获取不透水面扩张方位
* @param city
* @param superior
* @return
*/
@RequestMapping(value = "/selectOrientation",method = {RequestMethod.GET})
public AjaxResult selectOrientation(String city,String superior)
{
List<OrientationVO> value=service.selectOrientation(city,superior);
return AjaxResult.success(value);
}
/**
* 获取城市不透水面各种信息
* @param city
* @param superior
* @return
*/
@RequestMapping(value = "/selectInformation",method = {RequestMethod.GET})
public AjaxResult selectInformation(String city,String superior){
List<CityInformation> value= service.selectInfrom(city,superior);
return AjaxResult.success(value);
}
}