修改参数

This commit is contained in:
songjinsheng
2022-07-08 14:46:17 +08:00
parent 7943dd8156
commit 2a64885193
10 changed files with 18 additions and 20 deletions

View File

@ -33,15 +33,14 @@ public class GlobalTypeController {
/**
* 查询方法
* @param response 响应头
* @param request 客户端请求
* @return 参数类
*/
@RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST})
@ApiOperation(value = "查询方法",httpMethod = "POST")
public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request,@RequestBody GlobalTypeVO TypeVO)
public AjaxResult selectGlobalType()
{
List<GlobalTypeVO> eastVOSList= typeService.selectGlobalType(TypeVO.getTypeName(),TypeVO.getParticularYear());
List<GlobalTypeVO> eastVOSList= typeService.selectGlobalType();
return AjaxResult.success(eastVOSList);
}

View File

@ -37,9 +37,9 @@ public class VegetationCoverageController {
*/
@RequestMapping(value = "/selectVegetation",method = {RequestMethod.GET})
@ApiOperation(value = "查询方法",httpMethod = "GET")
public AjaxResult selectVegetation()
public AjaxResult selectVegetation(String type)
{
List<VegetationCoverageVO> eastVOSList= coverageService.selectVegetation();
List<VegetationCoverageVO> eastVOSList= coverageService.selectVegetation(type);
return AjaxResult.success(eastVOSList);
}