修改参数
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user