修改
This commit is contained in:
@ -159,11 +159,11 @@ public class AorestCoverageController {
|
||||
return upload;
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/Dictionary",method = {RequestMethod.POST})
|
||||
@ApiOperation(value = "字典查询",httpMethod = "POST")
|
||||
public AjaxResult Dictionary(@RequestBody Dictionary dic)
|
||||
@RequestMapping(value = "/dictionary",method = {RequestMethod.GET})
|
||||
// @ApiOperation(value = "字典查询",httpMethod = "GET")
|
||||
public AjaxResult Dictionary(String type,String type1,String type2)
|
||||
{
|
||||
List<Dictionary> diclist=service.selectDic(dic.getCodingType(),dic.getCodingType1(), dic.getCodingType2());
|
||||
List<Dictionary> diclist=service.selectDic(type);
|
||||
return AjaxResult.success(diclist);
|
||||
|
||||
}
|
||||
|
@ -56,12 +56,12 @@ public class CityExpandControllerr
|
||||
/**
|
||||
* 获取城市不透水面各种信息
|
||||
* @param city
|
||||
* @param superior
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/selectInformation",method = {RequestMethod.GET})
|
||||
public AjaxResult selectInformation(String city,String superior){
|
||||
List<CityInformation> value= service.selectInfrom(city,superior);
|
||||
public AjaxResult selectInformation(String city,String country,String year){
|
||||
List<CityInformation> value= service.selectInfrom(city,country,year);
|
||||
return AjaxResult.success(value);
|
||||
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ public class ThematicMapController {
|
||||
private ThematicMapService thematicMapService;
|
||||
|
||||
/**
|
||||
* 查询方法
|
||||
* 查询专题图
|
||||
* @param response 响应头
|
||||
* @return 参数类
|
||||
*/
|
||||
@ -56,7 +56,7 @@ public class ThematicMapController {
|
||||
|
||||
|
||||
/**
|
||||
* 查询方法
|
||||
* 查询地图服务
|
||||
* @param response 响应头
|
||||
* @return 参数类
|
||||
*/
|
||||
@ -68,11 +68,11 @@ public class ThematicMapController {
|
||||
@ApiResponse(code =403,message = "权限不足"),
|
||||
@ApiResponse(code =404,message = "未找到")
|
||||
})
|
||||
@RequestMapping(value = "/get/map",method = {RequestMethod.POST})
|
||||
@RequestMapping(value = "/get/map",method = {RequestMethod.GET})
|
||||
public AjaxResult selectMap(HttpServletResponse response,
|
||||
String chartType,String chartName)
|
||||
String chartType,String chartName,String particularYear)
|
||||
{
|
||||
List<MapServicesVO> res= thematicMapService.selMapServers(chartName,chartType);
|
||||
List<MapServicesVO> res= thematicMapService.selMapServers(chartName,chartType,particularYear);
|
||||
return AjaxResult.success(res);
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,33 @@
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.system.domain_yada.Dictionary;
|
||||
import com.ruoyi.system.service_yada.IAorestCoverageService;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: JinSheng Song
|
||||
* @Date: 2022/7/14 11:56
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/dictionary", produces = "application/json;charset=UTF-8")
|
||||
public class dictionaryController
|
||||
{
|
||||
|
||||
@Resource
|
||||
private IAorestCoverageService service;
|
||||
|
||||
@RequestMapping(value = "/select",method = {RequestMethod.GET})
|
||||
public AjaxResult Dictionary(String type)
|
||||
{
|
||||
List<Dictionary> diclist=service.selectDic(type);
|
||||
return AjaxResult.success(diclist);
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user