11
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* 亚大综合监测
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* 大气质量监测
|
@ -1,17 +1,13 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.system.service.IAustraliaMiddleEastService;
|
||||
import com.ruoyi.system.service.IForestService;
|
||||
import com.ruoyi.system.vo.AustraliaMiddleEastVO;
|
||||
import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService;
|
||||
import com.ruoyi.system.domainyada.AustraliaMiddleEastVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
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 javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
@ -25,7 +21,7 @@ import java.util.List;
|
||||
@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8")
|
||||
public class AustraliaMiddleEastController
|
||||
{
|
||||
// @Autowired
|
||||
//@Autowired
|
||||
private IAustraliaMiddleEastService australiaMiddleEastService;
|
||||
|
||||
/**
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* ENSO影响监测
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* 森林监测
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
@ -0,0 +1,72 @@
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.system.serviceyada.IRegionVGIService;
|
||||
import com.ruoyi.system.domainyada.RegionVGIVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 各区域VGI
|
||||
* @Author: JinSheng Song
|
||||
* @Date: 2022/5/11 9:08
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8")
|
||||
public class RegionVGIController
|
||||
{
|
||||
//@Autowired
|
||||
private IRegionVGIService regionVGIService;
|
||||
/**
|
||||
* 查询方法
|
||||
* @param response
|
||||
* @param request
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/SelectRegion",method = {RequestMethod.POST})
|
||||
public AjaxResult SelectRegion(HttpServletResponse response, HttpServletRequest request)
|
||||
{
|
||||
List<RegionVGIVO> vgivost= regionVGIService.selectRegion();
|
||||
return AjaxResult.success(vgivost);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除方法
|
||||
* @param ID
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/DelRegion",method = {RequestMethod.POST})
|
||||
public AjaxResult DelRegion(@Param("ID") String ID)
|
||||
{
|
||||
int NUM = regionVGIService.DelRegion(ID);
|
||||
if (NUM>0)
|
||||
{
|
||||
return AjaxResult.success();
|
||||
}
|
||||
return AjaxResult.error();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增方法
|
||||
* @param vgivo
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/IntoRegion",method = {RequestMethod.POST})
|
||||
public AjaxResult IntoRegion(RegionVGIVO vgivo)
|
||||
{
|
||||
int NUM = regionVGIService.IntoRegion(vgivo);
|
||||
if (NUM>0)
|
||||
{
|
||||
return AjaxResult.success();
|
||||
}
|
||||
return AjaxResult.error();
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* 专题报告
|
@ -1,4 +1,4 @@
|
||||
package com.ruoyi.web.controller.RemoteSensing;
|
||||
package com.ruoyi.web.controller.yada;
|
||||
|
||||
/**
|
||||
* 城市监测
|
Reference in New Issue
Block a user