diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java index af825429d..53ec82ed7 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AorestCoverageController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 9:08 */ -public class AdahTestingController { +@RestController +@RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") +public class AorestCoverageController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java index 4ec59d8d1..17761b99b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/AustraliaMiddleEastController.java @@ -18,7 +18,7 @@ import java.util.List; * @Date: 2022/5/11 9:08 */ @RestController -@RequestMapping(value = "/business-service/api/orderMng", produces = "application/json;charset=UTF-8") +@RequestMapping(value = "/business-service/api/Australia", produces = "application/json;charset=UTF-8") public class AustraliaMiddleEastController { //@Autowired diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java index 93dea68bf..18fd74092 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/GlobalTypeController.java @@ -1,15 +1,72 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** - *全球生态环境监测 + *全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 9:05 */ @RestController @RequestMapping("/monitor/clobal") -public class GlobalEcologyController { +public class GlobalTypeController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java index d58bda9ab..645e6179b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/OceanTemperatureController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** - * 森林监测 + * 海洋表面温度监测 * @Author: JinSheng Song * @Date: 2022/5/11 9:13 */ -public class ForestController { +@RestController +@RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") +public class OceanTemperatureController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java index 560ce93ce..68aca4bdc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/RegionalSystemController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 9:12 */ -public class ENSOController { +@RestController +@RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") +public class RegionalSystemController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java index fa6b510ff..734e03acb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/UrbanController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** - * 城市监测 + * 中国城市监测 * @Author: JinSheng Song * @Date: 2022/5/11 10:55 */ +@RestController +@RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") public class UrbanController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java index 8afabe23c..a66eea635 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/yada/VegetationCoverageController.java @@ -1,9 +1,71 @@ package com.ruoyi.web.controller.yada; +import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.serviceyada.IAustraliaMiddleEastService; +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; + /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 10:56 */ +@RestController +@RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") public class VegetationCoverageController { + //@Autowired + private IAustraliaMiddleEastService australiaMiddleEastService; + + /** + * 查询方法 + * @param response + * @param request + * @return + */ + @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) + public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) + { + List eastVOSList= australiaMiddleEastService.selectAustralia(); + return AjaxResult.success(eastVOSList); + } + + /** + * 删除方法 + * @param ID + * @return + */ + @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) + public AjaxResult DelAustralia(@Param("ID") String ID) + { + int NUM = australiaMiddleEastService.DelAustralia(ID); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + + } + + /** + * 新增方法 + * @param eastVOS + * @return + */ + @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) + public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) + { + int NUM = australiaMiddleEastService.IntoAustralia(eastVOS); + if (NUM>0) + { + return AjaxResult.success(); + } + return AjaxResult.error(); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java index f8e1dd4cb..83b23e077 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/AorestCoverageVO.java @@ -1,5 +1,26 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/20 14:06 - */public class AorestCoverageVo { + */ +public class AorestCoverageVO { + + private String id; + + private String particularYear; + + private String region; + + private String regionEn; + + private String protectedLands; + + private String nonProtectedLands; + + private String mountain; + + private String nonMountain; + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java index c77caad93..f80dd6efa 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/GlobalTypeVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/20 14:07 - */public class GlobalTypeVO { + */ +public class GlobalTypeVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java index a26ad320c..f544b37a7 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/OceanTemperatureVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/**+ + * 海面温度监测 * @Author: JinSheng Song * @Date: 2022/5/20 14:08 - */public class OceanTemperatureVO { + */ +public class OceanTemperatureVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java index 041ef677c..8e5a71084 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/RegionalSystemVO.java @@ -1,5 +1,10 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 - */public class RegionalSystemVO { + */ + +public class RegionalSystemVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java index 51687d0c5..fe24bd80b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domainyada/VegetationCoverageVO.java @@ -1,5 +1,9 @@ -package com.ruoyi.system.domainyada;/** +package com.ruoyi.system.domainyada; + +/** + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/20 14:09 - */public class VegetationCoverageVO { + */ +public class VegetationCoverageVO { } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java index 041af15e3..40d584ab1 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/AorestCoverageMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ -public interface AdahTestingMapper { +public interface AorestCoverageMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java index 8bfc2bca6..4bddaa24b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/GlobalTypeMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface GlobalEcologyMapper { +public interface GlobalTypeMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java index 60bba19e0..e8c3c51c5 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/OceanTemperatureMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface ForestMapper { +public interface OceanTemperatureMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java index 9805fa16e..55b39ac71 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/RegionalSystemMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:18 */ -public interface ENSOMapper { +public interface RegionalSystemMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java index cc3f6c2a5..d06a59332 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapperyada/VegetationCoverageMapper.java @@ -1,8 +1,19 @@ package com.ruoyi.system.mapperyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** * @Author: JinSheng Song * @Date: 2022/5/11 15:17 */ -public interface AtmosphereMapper { +public interface VegetationCoverageMapper { + +// List selectAustralia(); +// +// Integer DelAustralia(@Param("id") String id); +// +// Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java index 9190c72b1..1921e4d16 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IAorestCoverageService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 亚大综合监测 + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 11:32 */ -public interface IAdahTestingService { +public interface IAorestCoverageService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java index 8d12989b5..01940f7b4 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IGlobalTypeService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 全球生态环境监测 + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 11:37 */ -public interface IGlobalEcologyService { +public interface IGlobalTypeService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java index 214f23a86..c8240d3d3 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IOceanTemperatureService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 森林监测 + * 海面表面温度监测 * @Author: JinSheng Song * @Date: 2022/5/11 11:38 */ -public interface IForestService { +public interface IOceanTemperatureService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java index 1f59b0dac..ee8fd34bd 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IRegionalSystemService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 11:35 */ -public interface IENSOService { +public interface IRegionalSystemService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java index f3db831d5..735ef2b19 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/IVegetationCoverageService.java @@ -1,9 +1,20 @@ package com.ruoyi.system.serviceyada; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 11:34 */ -public interface IAtmosphereService { +public interface IVegetationCoverageService { + + public List selectAustralia(); + + public Integer DelAustralia(@Param("id") String id); + + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java index faf98c3e1..43fda2ee2 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/AorestCoverageServiceimpl.java @@ -1,11 +1,35 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IAdahTestingService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IAorestCoverageService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 亚大综合监测 + * 森林覆盖率 * @Author: JinSheng Song * @Date: 2022/5/11 11:43 */ -public class AdahTestingServiceimpl implements IAdahTestingService { +public class AorestCoverageServiceimpl implements IAorestCoverageService { + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java index 0dc272c6a..850e17e9b 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/GlobalTypeServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IGlobalEcologyService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IGlobalTypeService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 全球生态环境监测 + * 全球各类型占比 * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ -public class GlobalEcologyServiceimpl implements IGlobalEcologyService { +public class GlobalTypeServiceimpl implements IGlobalTypeService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java index 1bcddc14d..4e2a9f246 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/OceanTemperatureServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IForestService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IOceanTemperatureService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** * 森林监测 * @Author: JinSheng Song * @Date: 2022/5/11 11:47 */ -public class ForestServiceimpl implements IForestService { +public class OceanTemperatureServiceimpl implements IOceanTemperatureService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java index f6f06e26c..eaa8b905f 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/RegionalSystemServiceimpl.java @@ -1,11 +1,36 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IENSOService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IRegionalSystemService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * ENSO影响监测 + * 区域生态系统 * @Author: JinSheng Song * @Date: 2022/5/11 11:46 */ -public class ENSOServiceimpl implements IENSOService { +public class RegionalSystemServiceimpl implements IRegionalSystemService { + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java index 40addc703..b728c81f9 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/SpecialReportServiceimpl.java @@ -8,4 +8,5 @@ import com.ruoyi.system.serviceyada.ISpecialReportService; * @Date: 2022/5/11 11:48 */ public class SpecialReportServiceimpl implements ISpecialReportService { + } diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java index c5a8637c8..1a63f5445 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/serviceyada/impl/VegetationCoverageServiceimpl.java @@ -1,11 +1,37 @@ package com.ruoyi.system.serviceyada.impl; -import com.ruoyi.system.serviceyada.IAtmosphereService; +import com.ruoyi.system.domainyada.AustraliaMiddleEastVO; +import com.ruoyi.system.mapperyada.AustraliaMiddleEastMapper; +import com.ruoyi.system.serviceyada.IVegetationCoverageService; +import org.springframework.beans.factory.annotation.Autowired; + +import java.util.List; /** - * 大气质量监测 + * 平均植被覆盖度和净初级生产力 * @Author: JinSheng Song * @Date: 2022/5/11 11:45 */ -public class AtmosphereServiceimpl implements IAtmosphereService { +public class VegetationCoverageServiceimpl implements IVegetationCoverageService { + + + @Autowired + private AustraliaMiddleEastMapper australiaMiddleEastMapper; + + @Override + public List selectAustralia() + { + return australiaMiddleEastMapper.selectAustralia(); + } + + @Override + public Integer DelAustralia(String id) { + return australiaMiddleEastMapper.DelAustralia(id); + + } + + @Override + public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { + return australiaMiddleEastMapper.IntoAustralia(eastVO); + } } diff --git a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml index d3d0b771e..6c2bd79f3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/AorestCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml index 8126b1b1d..40c87a5be 100644 --- a/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/GlobalTypeMapper.xml @@ -2,6 +2,6 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml index 6918f0a28..291d261e3 100644 --- a/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/OceanTemperatureMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml index dbf1c541c..e72f3cc24 100644 --- a/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/RegionalSystemMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml index 1a029366d..809aa8bcb 100644 --- a/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/VegetationCoverageMapper.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file