控制器修改
This commit is contained in:
		| @@ -1,7 +1,9 @@ | |||||||
| package com.ruoyi.web.controller.yada; | package com.ruoyi.web.controller.yada; | ||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
|  | import com.ruoyi.system.domain_yada.AorestCoverageVO; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.service_yada.IAorestCoverageService; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| @@ -21,7 +23,7 @@ import java.util.List; | |||||||
| @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") | @RequestMapping(value = "/business-service/api/Aorest", produces = "application/json;charset=UTF-8") | ||||||
| public class AorestCoverageController { | public class AorestCoverageController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IAorestCoverageService service; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +31,10 @@ public class AorestCoverageController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectAorestCoverage",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectAorestCoverage(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<AorestCoverageVO> eastVOSList= service.selectAorestCoverage(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +43,10 @@ public class AorestCoverageController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelAorestCoverage",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelAorestCoverage(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = service.DelAorestCoverage(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -58,10 +60,10 @@ public class AorestCoverageController { | |||||||
|      * @param eastVOS |      * @param eastVOS | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoAorestCoverage",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoAorestCoverage(AorestCoverageVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  service.IntoAorestCoverage(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; | |||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.GlobalTypeVO; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
|  | import com.ruoyi.system.service_yada.IGlobalTypeService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| import org.springframework.web.bind.annotation.RequestMethod; | import org.springframework.web.bind.annotation.RequestMethod; | ||||||
| @@ -21,7 +23,7 @@ import java.util.List; | |||||||
| @RequestMapping("/monitor/clobal") | @RequestMapping("/monitor/clobal") | ||||||
| public class GlobalTypeController { | public class GlobalTypeController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IGlobalTypeService typeService; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +31,10 @@ public class GlobalTypeController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectGlobalType",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectGlobalType(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<GlobalTypeVO> eastVOSList= typeService.selectGlobalType(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +43,10 @@ public class GlobalTypeController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelGlobalType",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelGlobalType(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = typeService.DelGlobalType(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -58,10 +60,10 @@ public class GlobalTypeController { | |||||||
|      * @param eastVOS |      * @param eastVOS | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoGlobalType",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoGlobalType(GlobalTypeVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  typeService.IntoGlobalType(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; | |||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.OceanTemperatureVO; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
|  | import com.ruoyi.system.service_yada.IOceanTemperatureService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| import org.springframework.web.bind.annotation.RequestMethod; | import org.springframework.web.bind.annotation.RequestMethod; | ||||||
| @@ -21,7 +23,7 @@ import java.util.List; | |||||||
| @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") | @RequestMapping(value = "/business-service/api/Ocean", produces = "application/json;charset=UTF-8") | ||||||
| public class OceanTemperatureController { | public class OceanTemperatureController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IOceanTemperatureService temperatureService; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +31,10 @@ public class OceanTemperatureController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectOcean",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectOcean(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<OceanTemperatureVO> eastVOSList= temperatureService.selectOcean(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +43,10 @@ public class OceanTemperatureController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelOcean",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelOcean(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = temperatureService.DelOcean(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -59,9 +61,9 @@ public class OceanTemperatureController { | |||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoOcean(OceanTemperatureVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  temperatureService.IntoOcean(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -2,7 +2,10 @@ package com.ruoyi.web.controller.yada; | |||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.RegionVGIVO; | ||||||
|  | import com.ruoyi.system.domain_yada.RegionalSystemVO; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
|  | import com.ruoyi.system.service_yada.IRegionalSystemService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| import org.springframework.web.bind.annotation.RequestMethod; | import org.springframework.web.bind.annotation.RequestMethod; | ||||||
| @@ -21,7 +24,7 @@ import java.util.List; | |||||||
| @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") | @RequestMapping(value = "/business-service/api/Regional", produces = "application/json;charset=UTF-8") | ||||||
| public class RegionalSystemController { | public class RegionalSystemController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IRegionalSystemService systemService; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +32,10 @@ public class RegionalSystemController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectRegional",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectRegional(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<RegionalSystemVO> eastVOSList= systemService.selectRegional(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +44,10 @@ public class RegionalSystemController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelRegional",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelRegional(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = systemService.DelRegional(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -58,10 +61,10 @@ public class RegionalSystemController { | |||||||
|      * @param eastVOS |      * @param eastVOS | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoRegional",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoRegional(RegionalSystemVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  systemService.IntoRegional(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; | |||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.UrbanVO; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
|  | import com.ruoyi.system.service_yada.IUrbanService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| import org.springframework.web.bind.annotation.RequestMethod; | import org.springframework.web.bind.annotation.RequestMethod; | ||||||
| @@ -21,7 +23,7 @@ import java.util.List; | |||||||
| @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") | @RequestMapping(value = "/business-service/api/Urban", produces = "application/json;charset=UTF-8") | ||||||
| public class UrbanController { | public class UrbanController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IUrbanService urbanService; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +31,10 @@ public class UrbanController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectUrban",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectUrban(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<UrbanVO> eastVOSList= urbanService.selectUrban(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +43,10 @@ public class UrbanController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelUrban",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelUrban(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = urbanService.DelUrban(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -58,10 +60,10 @@ public class UrbanController { | |||||||
|      * @param eastVOS |      * @param eastVOS | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoUrban",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoUrban(UrbanVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  urbanService.IntoUrban(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -2,7 +2,9 @@ package com.ruoyi.web.controller.yada; | |||||||
|  |  | ||||||
| import com.ruoyi.common.core.domain.AjaxResult; | import com.ruoyi.common.core.domain.AjaxResult; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.VegetationCoverageVO; | ||||||
| import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | import com.ruoyi.system.service_yada.IAustraliaMiddleEastService; | ||||||
|  | import com.ruoyi.system.service_yada.IVegetationCoverageService; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
| import org.springframework.web.bind.annotation.RequestMapping; | import org.springframework.web.bind.annotation.RequestMapping; | ||||||
| import org.springframework.web.bind.annotation.RequestMethod; | import org.springframework.web.bind.annotation.RequestMethod; | ||||||
| @@ -21,7 +23,7 @@ import java.util.List; | |||||||
| @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") | @RequestMapping(value = "/business-service/api/Vegetation", produces = "application/json;charset=UTF-8") | ||||||
| public class VegetationCoverageController { | public class VegetationCoverageController { | ||||||
|     //@Autowired |     //@Autowired | ||||||
|     private IAustraliaMiddleEastService australiaMiddleEastService; |     private IVegetationCoverageService coverageService; | ||||||
|  |  | ||||||
|     /** |     /** | ||||||
|      * 查询方法 |      * 查询方法 | ||||||
| @@ -29,10 +31,10 @@ public class VegetationCoverageController { | |||||||
|      * @param request |      * @param request | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/SelectAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/selectVegetation",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult SelectAustralia(HttpServletResponse response, HttpServletRequest request) |     public AjaxResult selectVegetation(HttpServletResponse response, HttpServletRequest request) | ||||||
|     { |     { | ||||||
|         List<AustraliaMiddleEastVO> eastVOSList= australiaMiddleEastService.selectAustralia(); |         List<VegetationCoverageVO> eastVOSList= coverageService.selectVegetation(); | ||||||
|         return AjaxResult.success(eastVOSList); |         return AjaxResult.success(eastVOSList); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -41,10 +43,10 @@ public class VegetationCoverageController { | |||||||
|      * @param ID |      * @param ID | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/DelAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/DelVegetation",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult DelAustralia(@Param("ID") String ID) |     public AjaxResult DelVegetation(@Param("ID") String ID) | ||||||
|     { |     { | ||||||
|         int NUM = australiaMiddleEastService.DelAustralia(ID); |         int NUM = coverageService.DelVegetation(ID); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
| @@ -58,10 +60,10 @@ public class VegetationCoverageController { | |||||||
|      * @param eastVOS |      * @param eastVOS | ||||||
|      * @return |      * @return | ||||||
|      */ |      */ | ||||||
|     @RequestMapping(value = "/IntoAustralia",method = {RequestMethod.POST}) |     @RequestMapping(value = "/IntoVegetation",method = {RequestMethod.POST}) | ||||||
|     public AjaxResult IntoAustralia(AustraliaMiddleEastVO eastVOS) |     public AjaxResult IntoVegetation(VegetationCoverageVO eastVOS) | ||||||
|     { |     { | ||||||
|         int NUM =  australiaMiddleEastService.IntoAustralia(eastVOS); |         int NUM =  coverageService.IntoVegetation(eastVOS); | ||||||
|         if (NUM>0) |         if (NUM>0) | ||||||
|         { |         { | ||||||
|             return AjaxResult.success(); |             return AjaxResult.success(); | ||||||
|   | |||||||
| @@ -71,7 +71,7 @@ spring: | |||||||
|     # 数据库索引 |     # 数据库索引 | ||||||
|     database: 3 |     database: 3 | ||||||
|     # 密码 |     # 密码 | ||||||
|     password: yhy_app |     password: sdust2020 | ||||||
|     # 连接超时时间 |     # 连接超时时间 | ||||||
|     timeout: 10s |     timeout: 10s | ||||||
|     lettuce: |     lettuce: | ||||||
|   | |||||||
| @@ -15,13 +15,13 @@ public class AorestCoverageVO extends  SysBaseEntity { | |||||||
|  |  | ||||||
|     private  String regionEn; |     private  String regionEn; | ||||||
|  |  | ||||||
|     private  String protectedLands; |     private  Double protectedLands; | ||||||
|  |  | ||||||
|     private  String nonProtectedLands; |     private  Double nonProtectedLands; | ||||||
|  |  | ||||||
|     private  String mountain; |     private  Double mountain; | ||||||
|  |  | ||||||
|     private  String nonMountain; |     private  Double nonMountain; | ||||||
|  |  | ||||||
|     public String getId() { |     public String getId() { | ||||||
|         return id; |         return id; | ||||||
| @@ -55,35 +55,35 @@ public class AorestCoverageVO extends  SysBaseEntity { | |||||||
|         this.regionEn = regionEn; |         this.regionEn = regionEn; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getProtectedLands() { |     public Double getProtectedLands() { | ||||||
|         return protectedLands; |         return protectedLands; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setProtectedLands(String protectedLands) { |     public void setProtectedLands(Double protectedLands) { | ||||||
|         this.protectedLands = protectedLands; |         this.protectedLands = protectedLands; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getNonProtectedLands() { |     public Double getNonProtectedLands() { | ||||||
|         return nonProtectedLands; |         return nonProtectedLands; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setNonProtectedLands(String nonProtectedLands) { |     public void setNonProtectedLands(Double nonProtectedLands) { | ||||||
|         this.nonProtectedLands = nonProtectedLands; |         this.nonProtectedLands = nonProtectedLands; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getMountain() { |     public Double getMountain() { | ||||||
|         return mountain; |         return mountain; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setMountain(String mountain) { |     public void setMountain(Double mountain) { | ||||||
|         this.mountain = mountain; |         this.mountain = mountain; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getNonMountain() { |     public Double getNonMountain() { | ||||||
|         return nonMountain; |         return nonMountain; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setNonMountain(String nonMountain) { |     public void setNonMountain(Double nonMountain) { | ||||||
|         this.nonMountain = nonMountain; |         this.nonMountain = nonMountain; | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ import java.time.LocalDate; | |||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/19 14:50 |  * @Date: 2022/5/19 14:50 | ||||||
|  */ |  */ | ||||||
| public class AustraliaMiddleEastVO | public class AustraliaMiddleEastVO extends SysBaseEntity | ||||||
| { | { | ||||||
|     private  String id; |     private  String id; | ||||||
|  |  | ||||||
| @@ -22,8 +22,15 @@ public class AustraliaMiddleEastVO | |||||||
|  |  | ||||||
|     private  String createdBy; |     private  String createdBy; | ||||||
|  |  | ||||||
|     private  String createdTime; |     private  LocalDate createdTime; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|     public LocalDate getYearMonth() { |     public LocalDate getYearMonth() { | ||||||
|         return yearMonth; |         return yearMonth; | ||||||
| @@ -73,19 +80,11 @@ public class AustraliaMiddleEastVO | |||||||
|         this.createdBy = createdBy; |         this.createdBy = createdBy; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getCreatedTime() { |     public LocalDate getCreatedTime() { | ||||||
|         return createdTime; |         return createdTime; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public void setCreatedTime(String createdTime) { |     public void setCreatedTime(LocalDate createdTime) { | ||||||
|         this.createdTime = createdTime; |         this.createdTime = createdTime; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public String getId() { |  | ||||||
|         return id; |  | ||||||
|     } |  | ||||||
|  |  | ||||||
|     public void setId(String id) { |  | ||||||
|         this.id = id; |  | ||||||
|     } |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -5,5 +5,65 @@ package com.ruoyi.system.domain_yada; | |||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/20 14:07 |  * @Date: 2022/5/20 14:07 | ||||||
|  */ |  */ | ||||||
| public class GlobalTypeVO { | public class GlobalTypeVO extends  SysBaseEntity { | ||||||
|  |  | ||||||
|  |     private  String id; | ||||||
|  |  | ||||||
|  |     private  String typeName; | ||||||
|  |  | ||||||
|  |     private  String  typeNameEn; | ||||||
|  |  | ||||||
|  |     private  Double areaProportion; | ||||||
|  |  | ||||||
|  |     private  String area; | ||||||
|  |  | ||||||
|  |     private  int  particularYear; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getTypeName() { | ||||||
|  |         return typeName; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setTypeName(String typeName) { | ||||||
|  |         this.typeName = typeName; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getTypeNameEn() { | ||||||
|  |         return typeNameEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setTypeNameEn(String typeNameEn) { | ||||||
|  |         this.typeNameEn = typeNameEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getAreaProportion() { | ||||||
|  |         return areaProportion; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setAreaProportion(Double areaProportion) { | ||||||
|  |         this.areaProportion = areaProportion; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getArea() { | ||||||
|  |         return area; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setArea(String area) { | ||||||
|  |         this.area = area; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public int getParticularYear() { | ||||||
|  |         return particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setParticularYear(int particularYear) { | ||||||
|  |         this.particularYear = particularYear; | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,9 +1,62 @@ | |||||||
| package com.ruoyi.system.domain_yada; | package com.ruoyi.system.domain_yada; | ||||||
|  |  | ||||||
|  | import java.time.LocalDate; | ||||||
|  |  | ||||||
| /**+ | /**+ | ||||||
|  * 海面温度监测 |  * 海面温度监测 | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/20 14:08 |  * @Date: 2022/5/20 14:08 | ||||||
|  */ |  */ | ||||||
| public class OceanTemperatureVO { | public class OceanTemperatureVO extends SysBaseEntity | ||||||
|  | { | ||||||
|  |  | ||||||
|  |     private  String id; | ||||||
|  |  | ||||||
|  |     private  Integer ninoPhenomenon; | ||||||
|  |  | ||||||
|  |     private  Integer  laNina; | ||||||
|  |  | ||||||
|  |     private LocalDate startDate; | ||||||
|  |  | ||||||
|  |     private  LocalDate endDate; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Integer getNinoPhenomenon() { | ||||||
|  |         return ninoPhenomenon; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setNinoPhenomenon(Integer ninoPhenomenon) { | ||||||
|  |         this.ninoPhenomenon = ninoPhenomenon; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Integer getLaNina() { | ||||||
|  |         return laNina; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setLaNina(Integer laNina) { | ||||||
|  |         this.laNina = laNina; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public LocalDate getStartDate() { | ||||||
|  |         return startDate; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setStartDate(LocalDate startDate) { | ||||||
|  |         this.startDate = startDate; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public LocalDate getEndDate() { | ||||||
|  |         return endDate; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setEndDate(LocalDate endDate) { | ||||||
|  |         this.endDate = endDate; | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -6,5 +6,75 @@ package com.ruoyi.system.domain_yada; | |||||||
|  * @Date: 2022/5/20 14:09 |  * @Date: 2022/5/20 14:09 | ||||||
|  */ |  */ | ||||||
|  |  | ||||||
| public class RegionalSystemVO { | public class RegionalSystemVO  extends SysBaseEntity{ | ||||||
|  |  | ||||||
|  |     private  String id; | ||||||
|  |  | ||||||
|  |     private  String region; | ||||||
|  |  | ||||||
|  |     private  String  regionEn; | ||||||
|  |  | ||||||
|  |     private  String typeConversion; | ||||||
|  |  | ||||||
|  |     private  String typeconversionEn; | ||||||
|  |  | ||||||
|  |     private  Double  proportionOfChangedAreas; | ||||||
|  |  | ||||||
|  |     private  String particularYear; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getRegion() { | ||||||
|  |         return region; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setRegion(String region) { | ||||||
|  |         this.region = region; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getRegionEn() { | ||||||
|  |         return regionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setRegionEn(String regionEn) { | ||||||
|  |         this.regionEn = regionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getTypeConversion() { | ||||||
|  |         return typeConversion; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setTypeConversion(String typeConversion) { | ||||||
|  |         this.typeConversion = typeConversion; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getTypeconversionEn() { | ||||||
|  |         return typeconversionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setTypeconversionEn(String typeconversionEn) { | ||||||
|  |         this.typeconversionEn = typeconversionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getProportionOfChangedAreas() { | ||||||
|  |         return proportionOfChangedAreas; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setProportionOfChangedAreas(Double proportionOfChangedAreas) { | ||||||
|  |         this.proportionOfChangedAreas = proportionOfChangedAreas; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getParticularYear() { | ||||||
|  |         return particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setParticularYear(String particularYear) { | ||||||
|  |         this.particularYear = particularYear; | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -0,0 +1,61 @@ | |||||||
|  | package com.ruoyi.system.domain_yada; | ||||||
|  |  | ||||||
|  | import java.time.LocalDate; | ||||||
|  |  | ||||||
|  | /** | ||||||
|  |  * 城市监测 | ||||||
|  |  * @Author: JinSheng Song | ||||||
|  |  * @Date: 2022/5/20 16:55 | ||||||
|  |  */ | ||||||
|  | public class UrbanVO extends SysBaseEntity{ | ||||||
|  |  | ||||||
|  |     private  String id; | ||||||
|  |  | ||||||
|  |     private String particularYear; | ||||||
|  |  | ||||||
|  |     private  String name; | ||||||
|  |  | ||||||
|  |     private  String  nameEn; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getParticularYear() { | ||||||
|  |         return particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setParticularYear(String particularYear) { | ||||||
|  |         this.particularYear = particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getName() { | ||||||
|  |         return name; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setName(String name) { | ||||||
|  |         this.name = name; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getNameEn() { | ||||||
|  |         return nameEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setNameEn(String nameEn) { | ||||||
|  |         this.nameEn = nameEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getUrbanArea() { | ||||||
|  |         return urbanArea; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setUrbanArea(Double urbanArea) { | ||||||
|  |         this.urbanArea = urbanArea; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     private  Double urbanArea; | ||||||
|  | } | ||||||
| @@ -1,9 +1,91 @@ | |||||||
| package com.ruoyi.system.domain_yada; | package com.ruoyi.system.domain_yada; | ||||||
|  |  | ||||||
|  | import java.time.LocalDate; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * 平均植被覆盖度和净初级生产力 |  * 平均植被覆盖度和净初级生产力 | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/20 14:09 |  * @Date: 2022/5/20 14:09 | ||||||
|  */ |  */ | ||||||
| public class VegetationCoverageVO { | public class VegetationCoverageVO extends SysBaseEntity | ||||||
|  | { | ||||||
|  |     private  String id; | ||||||
|  |  | ||||||
|  |     private  String region; | ||||||
|  |  | ||||||
|  |     private  String regionEn; | ||||||
|  |  | ||||||
|  |     private  String particularYear; | ||||||
|  |  | ||||||
|  |     private  Double mountain; | ||||||
|  |  | ||||||
|  |     private  Double nonMountain; | ||||||
|  |  | ||||||
|  |     private  Double protectedLands; | ||||||
|  |  | ||||||
|  |     private  Double nonProtectedLands; | ||||||
|  |  | ||||||
|  |     public String getId() { | ||||||
|  |         return id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setId(String id) { | ||||||
|  |         this.id = id; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getRegion() { | ||||||
|  |         return region; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setRegion(String region) { | ||||||
|  |         this.region = region; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getRegionEn() { | ||||||
|  |         return regionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setRegionEn(String regionEn) { | ||||||
|  |         this.regionEn = regionEn; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public String getParticularYear() { | ||||||
|  |         return particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setParticularYear(String particularYear) { | ||||||
|  |         this.particularYear = particularYear; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getMountain() { | ||||||
|  |         return mountain; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setMountain(Double mountain) { | ||||||
|  |         this.mountain = mountain; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getNonMountain() { | ||||||
|  |         return nonMountain; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setNonMountain(Double nonMountain) { | ||||||
|  |         this.nonMountain = nonMountain; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getProtectedLands() { | ||||||
|  |         return protectedLands; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setProtectedLands(Double protectedLands) { | ||||||
|  |         this.protectedLands = protectedLands; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public Double getNonProtectedLands() { | ||||||
|  |         return nonProtectedLands; | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     public void setNonProtectedLands(Double nonProtectedLands) { | ||||||
|  |         this.nonProtectedLands = nonProtectedLands; | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,14 +1,19 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.AorestCoverageVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:17 |  * @Date: 2022/5/11 15:17 | ||||||
|  */ |  */ | ||||||
| public interface AorestCoverageMapper { | public interface AorestCoverageMapper { | ||||||
|  |  | ||||||
| //    List<AustraliaMiddleEastVO> selectAustralia(); |     List<AorestCoverageVO> selectAorestCoverage(); | ||||||
| // |  | ||||||
| //    Integer DelAustralia(@Param("id") String id); |     Integer DelAorestCoverage(@Param("id") String id); | ||||||
| // |  | ||||||
| //    Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     Integer IntoAorestCoverage(AorestCoverageVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,14 +1,19 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.GlobalTypeVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:18 |  * @Date: 2022/5/11 15:18 | ||||||
|  */ |  */ | ||||||
| public interface GlobalTypeMapper { | public interface GlobalTypeMapper { | ||||||
|  |  | ||||||
| //    List<AustraliaMiddleEastVO> selectAustralia(); |     List<GlobalTypeVO> selectGlobalType(); | ||||||
| // |  | ||||||
| //    Integer DelAustralia(@Param("id") String id); |     Integer DelGlobalType(@Param("id") String id); | ||||||
| // |  | ||||||
| //    Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     Integer IntoGlobalType(GlobalTypeVO typeVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,14 +1,20 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.OceanTemperatureVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:18 |  * @Date: 2022/5/11 15:18 | ||||||
|  */ |  */ | ||||||
| public interface OceanTemperatureMapper { | public interface OceanTemperatureMapper { | ||||||
|  |  | ||||||
| //    List<AustraliaMiddleEastVO> selectAustralia(); |     List<OceanTemperatureVO> selectOcean(); | ||||||
| // |  | ||||||
| //    Integer DelAustralia(@Param("id") String id); |     Integer DelOcean(@Param("id") String id); | ||||||
| // |  | ||||||
| //    Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     Integer IntoOcean(OceanTemperatureVO eastVO); | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,14 +1,19 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.RegionalSystemVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:18 |  * @Date: 2022/5/11 15:18 | ||||||
|  */ |  */ | ||||||
| public interface RegionalSystemMapper { | public interface RegionalSystemMapper { | ||||||
|  |  | ||||||
| //    List<AustraliaMiddleEastVO> selectAustralia(); |     List<RegionalSystemVO> selectRegional(); | ||||||
| // |  | ||||||
| //    Integer DelAustralia(@Param("id") String id); |     Integer DelRegional(@Param("id") String id); | ||||||
| // |  | ||||||
| //    Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     Integer IntoRegional(RegionalSystemVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,8 +1,20 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.UrbanVO; | ||||||
|  | import com.ruoyi.system.domain_yada.VegetationCoverageVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:18 |  * @Date: 2022/5/11 15:18 | ||||||
|  */ |  */ | ||||||
| public interface UrbanMapper { | public interface UrbanMapper { | ||||||
|  |  | ||||||
|  |     List<UrbanVO> selectUrban(); | ||||||
|  |  | ||||||
|  |     Integer DelUrban(@Param("id") String id); | ||||||
|  |  | ||||||
|  |     Integer IntoUrban(UrbanVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,14 +1,19 @@ | |||||||
| package com.ruoyi.system.mapper_yada; | package com.ruoyi.system.mapper_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.VegetationCoverageVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 15:17 |  * @Date: 2022/5/11 15:17 | ||||||
|  */ |  */ | ||||||
| public interface VegetationCoverageMapper { | public interface VegetationCoverageMapper { | ||||||
|  |  | ||||||
| //    List<AustraliaMiddleEastVO> selectAustralia(); |     List<VegetationCoverageVO> selectVegetation(); | ||||||
| // |  | ||||||
| //    Integer DelAustralia(@Param("id") String id); |     Integer DelVegetation(@Param("id") String id); | ||||||
| // |  | ||||||
| //    Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     Integer IntoVegetation(VegetationCoverageVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,5 +1,6 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.AorestCoverageVO; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
| @@ -12,9 +13,9 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public interface IAorestCoverageService { | public interface IAorestCoverageService { | ||||||
|  |  | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia(); |     public List<AorestCoverageVO> selectAorestCoverage(); | ||||||
|  |  | ||||||
|     public Integer DelAustralia(@Param("id") String id); |     public Integer DelAorestCoverage(@Param("id") String id); | ||||||
|  |  | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     public Integer IntoAorestCoverage(AorestCoverageVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.GlobalTypeVO; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
| @@ -12,9 +13,9 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public interface IGlobalTypeService { | public interface IGlobalTypeService { | ||||||
|  |  | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia(); |    public List<GlobalTypeVO> selectGlobalType(); | ||||||
|  |  | ||||||
|     public Integer DelAustralia(@Param("id") String id); |    public   Integer DelGlobalType(String id); | ||||||
|  |  | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |    public Integer IntoGlobalType(GlobalTypeVO typeVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.OceanTemperatureVO; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
| @@ -12,9 +13,9 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public interface IOceanTemperatureService { | public interface IOceanTemperatureService { | ||||||
|  |  | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia(); |     public List<OceanTemperatureVO> selectOcean(); | ||||||
|  |  | ||||||
|     public Integer DelAustralia(@Param("id") String id); |     public Integer DelOcean(@Param("id") String id); | ||||||
|  |  | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     public Integer IntoOcean(OceanTemperatureVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.RegionalSystemVO; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
| @@ -12,9 +13,9 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public interface IRegionalSystemService { | public interface IRegionalSystemService { | ||||||
|  |  | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia(); |     public List<RegionalSystemVO> selectRegional(); | ||||||
|  |  | ||||||
|     public Integer DelAustralia(@Param("id") String id); |     public Integer DelRegional(@Param("id") String id); | ||||||
|  |  | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     public Integer IntoRegional(RegionalSystemVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,9 +1,20 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.UrbanVO; | ||||||
|  | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * 城市监测 |  * 城市监测 | ||||||
|  * @Author: JinSheng Song |  * @Author: JinSheng Song | ||||||
|  * @Date: 2022/5/11 11:40 |  * @Date: 2022/5/11 11:40 | ||||||
|  */ |  */ | ||||||
| public interface IUrbanService { | public interface IUrbanService { | ||||||
|  |  | ||||||
|  |     public List<UrbanVO> selectUrban(); | ||||||
|  |  | ||||||
|  |     public Integer DelUrban(@Param("id") String id); | ||||||
|  |  | ||||||
|  |     public Integer IntoUrban(UrbanVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,7 @@ | |||||||
| package com.ruoyi.system.service_yada; | package com.ruoyi.system.service_yada; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.VegetationCoverageVO; | ||||||
| import org.apache.ibatis.annotations.Param; | import org.apache.ibatis.annotations.Param; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
| @@ -12,9 +13,9 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public interface IVegetationCoverageService { | public interface IVegetationCoverageService { | ||||||
|  |  | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia(); |     public List<VegetationCoverageVO> selectVegetation(); | ||||||
|  |  | ||||||
|     public Integer DelAustralia(@Param("id") String id); |     public Integer DelVegetation(String id); | ||||||
|  |  | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO); |     public Integer IntoVegetation(VegetationCoverageVO eastVO); | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,8 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.AorestCoverageVO; | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.mapper_yada.AorestCoverageMapper; | ||||||
| import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | ||||||
| import com.ruoyi.system.service_yada.IAorestCoverageService; | import com.ruoyi.system.service_yada.IAorestCoverageService; | ||||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||||
| @@ -14,22 +16,21 @@ import java.util.List; | |||||||
|  */ |  */ | ||||||
| public class AorestCoverageServiceimpl implements IAorestCoverageService { | public class AorestCoverageServiceimpl implements IAorestCoverageService { | ||||||
|     @Autowired |     @Autowired | ||||||
|     private AustraliaMiddleEastMapper australiaMiddleEastMapper; |     private AorestCoverageMapper coverageMapper; | ||||||
|  |  | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia() |     public List<AorestCoverageVO> selectAorestCoverage() { | ||||||
|     { |         return coverageMapper.selectAorestCoverage(); | ||||||
|         return australiaMiddleEastMapper.selectAustralia(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer DelAustralia(String id) { |     public Integer DelAorestCoverage(String id) { | ||||||
|         return australiaMiddleEastMapper.DelAustralia(id); |         return coverageMapper.DelAorestCoverage(id); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { |     public Integer IntoAorestCoverage(AorestCoverageVO eastVO) { | ||||||
|         return australiaMiddleEastMapper.IntoAustralia(eastVO); |         return IntoAorestCoverage(eastVO); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,9 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.GlobalTypeVO; | ||||||
| import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | ||||||
|  | import com.ruoyi.system.mapper_yada.GlobalTypeMapper; | ||||||
| import com.ruoyi.system.service_yada.IGlobalTypeService; | import com.ruoyi.system.service_yada.IGlobalTypeService; | ||||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||||
|  |  | ||||||
| @@ -15,22 +17,21 @@ import java.util.List; | |||||||
| public class GlobalTypeServiceimpl implements IGlobalTypeService { | public class GlobalTypeServiceimpl implements IGlobalTypeService { | ||||||
|  |  | ||||||
|     @Autowired |     @Autowired | ||||||
|     private AustraliaMiddleEastMapper australiaMiddleEastMapper; |     private GlobalTypeMapper typeMapper; | ||||||
|  |  | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia() |     public List<GlobalTypeVO> selectGlobalType() { | ||||||
|     { |         return typeMapper.selectGlobalType(); | ||||||
|         return australiaMiddleEastMapper.selectAustralia(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer DelAustralia(String id) { |     public Integer DelGlobalType(String id) { | ||||||
|         return australiaMiddleEastMapper.DelAustralia(id); |         return typeMapper.DelGlobalType(id); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { |     public Integer IntoGlobalType(GlobalTypeVO typeVO) { | ||||||
|         return australiaMiddleEastMapper.IntoAustralia(eastVO); |         return typeMapper.IntoGlobalType(typeVO); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,9 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.OceanTemperatureVO; | ||||||
| import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | ||||||
|  | import com.ruoyi.system.mapper_yada.OceanTemperatureMapper; | ||||||
| import com.ruoyi.system.service_yada.IOceanTemperatureService; | import com.ruoyi.system.service_yada.IOceanTemperatureService; | ||||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||||
|  |  | ||||||
| @@ -15,22 +17,21 @@ import java.util.List; | |||||||
| public class OceanTemperatureServiceimpl implements IOceanTemperatureService { | public class OceanTemperatureServiceimpl implements IOceanTemperatureService { | ||||||
|  |  | ||||||
|     @Autowired |     @Autowired | ||||||
|     private AustraliaMiddleEastMapper australiaMiddleEastMapper; |     private OceanTemperatureMapper oceanMapper; | ||||||
|  |  | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia() |     public List<OceanTemperatureVO> selectOcean() { | ||||||
|     { |         return oceanMapper.selectOcean(); | ||||||
|         return australiaMiddleEastMapper.selectAustralia(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer DelAustralia(String id) { |     public Integer DelOcean(String id) { | ||||||
|         return australiaMiddleEastMapper.DelAustralia(id); |         return oceanMapper.DelOcean(id); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { |     public Integer IntoOcean(OceanTemperatureVO eastVO) { | ||||||
|         return australiaMiddleEastMapper.IntoAustralia(eastVO); |         return oceanMapper.IntoOcean(eastVO); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,9 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.RegionalSystemVO; | ||||||
| import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | ||||||
|  | import com.ruoyi.system.mapper_yada.RegionalSystemMapper; | ||||||
| import com.ruoyi.system.service_yada.IRegionalSystemService; | import com.ruoyi.system.service_yada.IRegionalSystemService; | ||||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||||
|  |  | ||||||
| @@ -15,22 +17,22 @@ import java.util.List; | |||||||
| public class RegionalSystemServiceimpl implements IRegionalSystemService { | public class RegionalSystemServiceimpl implements IRegionalSystemService { | ||||||
|  |  | ||||||
|     @Autowired |     @Autowired | ||||||
|     private AustraliaMiddleEastMapper australiaMiddleEastMapper; |     private RegionalSystemMapper Regional; | ||||||
|  |  | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia() |     public List<RegionalSystemVO> selectRegional() { | ||||||
|     { |         return Regional.selectRegional(); | ||||||
|         return australiaMiddleEastMapper.selectAustralia(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer DelAustralia(String id) { |     public Integer DelRegional(String id) { | ||||||
|         return australiaMiddleEastMapper.DelAustralia(id); |         return Regional.DelRegional(id); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { |     public Integer IntoRegional(RegionalSystemVO eastVO) { | ||||||
|         return australiaMiddleEastMapper.IntoAustralia(eastVO); |         return Regional.IntoRegional(eastVO); | ||||||
|     } |     } | ||||||
|  |  | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,6 +1,12 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
|  | import com.ruoyi.system.domain_yada.UrbanVO; | ||||||
|  | import com.ruoyi.system.mapper_yada.AorestCoverageMapper; | ||||||
|  | import com.ruoyi.system.mapper_yada.UrbanMapper; | ||||||
| import com.ruoyi.system.service_yada.IUrbanService; | import com.ruoyi.system.service_yada.IUrbanService; | ||||||
|  | import org.springframework.beans.factory.annotation.Autowired; | ||||||
|  |  | ||||||
|  | import java.util.List; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * * 城市监测 |  * * 城市监测 | ||||||
| @@ -8,4 +14,23 @@ import com.ruoyi.system.service_yada.IUrbanService; | |||||||
|  * @Date: 2022/5/11 11:49 |  * @Date: 2022/5/11 11:49 | ||||||
|  */ |  */ | ||||||
| public class UrbanServiceimpl implements IUrbanService { | public class UrbanServiceimpl implements IUrbanService { | ||||||
|  |  | ||||||
|  |     @Autowired | ||||||
|  |     private UrbanMapper urbanMapper; | ||||||
|  |  | ||||||
|  |     @Override | ||||||
|  |  | ||||||
|  |     public List<UrbanVO> selectUrban() { | ||||||
|  |         return urbanMapper.selectUrban(); | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     @Override | ||||||
|  |     public Integer DelUrban(String id) { | ||||||
|  |         return urbanMapper.DelUrban(id); | ||||||
|  |     } | ||||||
|  |  | ||||||
|  |     @Override | ||||||
|  |     public Integer IntoUrban(UrbanVO eastVO) { | ||||||
|  |         return urbanMapper.IntoUrban(eastVO); | ||||||
|  |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -1,7 +1,9 @@ | |||||||
| package com.ruoyi.system.service_yada.impl; | package com.ruoyi.system.service_yada.impl; | ||||||
|  |  | ||||||
| import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | import com.ruoyi.system.domain_yada.AustraliaMiddleEastVO; | ||||||
|  | import com.ruoyi.system.domain_yada.VegetationCoverageVO; | ||||||
| import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | import com.ruoyi.system.mapper_yada.AustraliaMiddleEastMapper; | ||||||
|  | import com.ruoyi.system.mapper_yada.VegetationCoverageMapper; | ||||||
| import com.ruoyi.system.service_yada.IVegetationCoverageService; | import com.ruoyi.system.service_yada.IVegetationCoverageService; | ||||||
| import org.springframework.beans.factory.annotation.Autowired; | import org.springframework.beans.factory.annotation.Autowired; | ||||||
|  |  | ||||||
| @@ -16,22 +18,21 @@ public class VegetationCoverageServiceimpl implements IVegetationCoverageService | |||||||
|  |  | ||||||
|  |  | ||||||
|     @Autowired |     @Autowired | ||||||
|     private AustraliaMiddleEastMapper australiaMiddleEastMapper; |     private VegetationCoverageMapper coverageMapper; | ||||||
|  |  | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public List<AustraliaMiddleEastVO> selectAustralia() |     public List<VegetationCoverageVO> selectVegetation() { | ||||||
|     { |         return coverageMapper.selectVegetation(); | ||||||
|         return australiaMiddleEastMapper.selectAustralia(); |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer DelAustralia(String id) { |     public Integer DelVegetation(String id) { | ||||||
|         return australiaMiddleEastMapper.DelAustralia(id); |         return coverageMapper.DelVegetation(id); | ||||||
|  |  | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     @Override |     @Override | ||||||
|     public Integer IntoAustralia(AustraliaMiddleEastVO eastVO) { |     public Integer IntoVegetation(VegetationCoverageVO eastVO) { | ||||||
|         return australiaMiddleEastMapper.IntoAustralia(eastVO); |         return coverageMapper.IntoVegetation(eastVO); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -4,5 +4,61 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.AorestCoverageMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.AorestCoverageMapper"> | ||||||
|  |  | ||||||
|  |     <resultMap id="RM_AorestCoverage" type="com.ruoyi.system.domain_yada.AorestCoverageVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="particularYear" column="particular_year"/> | ||||||
|  |         <result property="region" column="region"/> | ||||||
|  |         <result property="regionEn" column="region_en"/> | ||||||
|  |         <result property="protectedLands" column="protected_lands"/> | ||||||
|  |         <result property="nonProtectedLands" column="non_protected_lands"/> | ||||||
|  |         <result property="mountain" column="mountain"/> | ||||||
|  |         <result property="nonMountain" column="non_mountain"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,particular_year,region,region_en,protected_lands,non_protected_lands,mountain,non_mountain,created_by,created_time | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectAorestCoverage" resultMap="RM_AorestCoverage"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  forest_coverage; | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelAorestCoverage"> | ||||||
|  |         DELETE FROM forest_coverage | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoAorestCoverage"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO forest_coverage ( | ||||||
|  |             id , | ||||||
|  |             particular_year , | ||||||
|  |             region , | ||||||
|  |             region_en , | ||||||
|  |             protected_lands , | ||||||
|  |             non_protected_lands , | ||||||
|  |             mountain, | ||||||
|  |             non_mountain, | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{particularYear,jdbcType=VARCHAR}, | ||||||
|  |                      #{region,jdbcType=VARCHAR}, | ||||||
|  |                      #{regionEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{protectedLands,jdbcType=DOUBLE}, | ||||||
|  |                      #{nonProtectedLand,jdbcType=DOUBLE}, | ||||||
|  |                      #{mountain,jdbcType=DOUBLE}, | ||||||
|  |                      #{nonMountain,jdbcType=DOUBLE}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
|  |  | ||||||
| </mapper>  | </mapper>  | ||||||
| @@ -50,7 +50,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
|                      #{precipitationAnomolies,jdbcType=DOUBLE}, |                      #{precipitationAnomolies,jdbcType=DOUBLE}, | ||||||
|                      #{vaiAnomolies,jdbcType=DOUBLE}, |                      #{vaiAnomolies,jdbcType=DOUBLE}, | ||||||
|                      #{createdBy,jdbcType=VARCHAR}, |                      #{createdBy,jdbcType=VARCHAR}, | ||||||
|                      #{createdTime,jdbcType=VARCHAR} |                      #{createdTime,jdbcType=DATE} | ||||||
|                  ) |                  ) | ||||||
|         ]]> |         ]]> | ||||||
|     </insert> |     </insert> | ||||||
|   | |||||||
| @@ -4,4 +4,54 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.GlobalTypeMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.GlobalTypeMapper"> | ||||||
|  |  | ||||||
|  |     <resultMap id="RM_GlobalType" type="com.ruoyi.system.domain_yada.GlobalTypeVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="particularYear" column="particular_year"/> | ||||||
|  |         <result property="typeName" column="type_name"/> | ||||||
|  |         <result property="typeNameEn" column="type_name_en"/> | ||||||
|  |         <result property="areaProportion" column="area_proportion"/> | ||||||
|  |         <result property="area" column="area"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,particular_year,type_name,type_name_en,area_proportion,area,created_by,created_time | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectGlobalType" resultMap="RM_GlobalType"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  proportion_of_global_types; | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelGlobalType"> | ||||||
|  |         DELETE FROM proportion_of_global_types | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoGlobalType"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO proportion_of_global_types ( | ||||||
|  |             id , | ||||||
|  |             particular_year , | ||||||
|  |             type_name , | ||||||
|  |             type_name_en , | ||||||
|  |             area_proportion , | ||||||
|  |             area , | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{particularYear,jdbcType=VARCHAR}, | ||||||
|  |                      #{typeName,jdbcType=VARCHAR}, | ||||||
|  |                      #{typeNameEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{areaProportion,jdbcType=DOUBLE}, | ||||||
|  |                      #{area,jdbcType=DOUBLE}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
| </mapper>  | </mapper>  | ||||||
| @@ -4,5 +4,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.OceanTemperatureMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.OceanTemperatureMapper"> | ||||||
|  |  | ||||||
|  |     <resultMap id="RM_Ocean" type="com.ruoyi.system.domain_yada.OceanTemperatureVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="ninoPhenomenon" column="nino_phenomenon"/> | ||||||
|  |         <result property="laNina" column="la_nina"/> | ||||||
|  |         <result property="startDate" column="start_date"/> | ||||||
|  |         <result property="endDate" column="end_date"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,nino_phenomenon,la_nina,start_date,end_date,created_by,created_time | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectOcean" resultMap="RM_Ocean"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  sea_surface_temperature_anomaly | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelOcean"> | ||||||
|  |         DELETE FROM sea_surface_temperature_anomaly | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoOcean"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO sea_surface_temperature_anomaly ( | ||||||
|  |             id , | ||||||
|  |             nino_phenomenon , | ||||||
|  |             la_nina , | ||||||
|  |             start_date , | ||||||
|  |             end_date , | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{ninoPhenomenon,jdbcType=INTEGER}, | ||||||
|  |                      #{laNina,jdbcType=INTEGER}, | ||||||
|  |                      #{startDate,jdbcType=DATE}, | ||||||
|  |                      #{endDate,jdbcType=DATE}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
|  |  | ||||||
| </mapper>  | </mapper>  | ||||||
| @@ -4,5 +4,57 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.RegionalSystemMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.RegionalSystemMapper"> | ||||||
|  |  | ||||||
|  |     <resultMap id="RM_Regional" type="com.ruoyi.system.domain_yada.RegionalSystemVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="region" column="region"/> | ||||||
|  |         <result property="regionEn" column="region_en"/> | ||||||
|  |         <result property="typeConversion" column="type_conversion"/> | ||||||
|  |         <result property="typeconversionEn" column="type_conversion_en"/> | ||||||
|  |         <result property="proportionOfChangedAreas" column="proportion_of_changed_areas"/> | ||||||
|  |         <result property="particularYear" column="particular_year"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,region,region_en,type_conversion,type_conversion_en,proportion_of_changed_areas,particular_year,createBy,createTime | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectRegional" resultMap="RM_Regional"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  proportion_of_ecosystem_type_transfer | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelRegional"> | ||||||
|  |         DELETE FROM proportion_of_ecosystem_type_transfer | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoRegional"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO proportion_of_ecosystem_type_transfer ( | ||||||
|  |             id , | ||||||
|  |             region , | ||||||
|  |             region_en , | ||||||
|  |             type_conversion , | ||||||
|  |             type_conversion_en , | ||||||
|  |             proportion_of_changed_areas, | ||||||
|  |             particular_year, | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{region,jdbcType=VARCHAR}, | ||||||
|  |                      #{regionEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{typeConversion,jdbcType=VARCHAR}, | ||||||
|  |                      #{typeconversionEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{proportionOfChangedAreas,jdbcType=DOUBLE}, | ||||||
|  |                      #{particularYear,jdbcType=VARCHAR}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
| </mapper>  | </mapper>  | ||||||
| @@ -4,5 +4,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | |||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.UrbanMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.UrbanMapper"> | ||||||
|  |  | ||||||
|  |     <resultMap id="RM_Urban" type="com.ruoyi.system.domain_yada.UrbanVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="particularYear" column="particular_year"/> | ||||||
|  |         <result property="name" column="name"/> | ||||||
|  |         <result property="nameEn" column="name_en"/> | ||||||
|  |         <result property="urbanArea" column="urban_area"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,particular_year,name,name_en,urban_area,created_by,created_time | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectUrban" resultMap="RM_Urban"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  urban_agglomeration_china | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelUrban"> | ||||||
|  |         DELETE FROM urban_agglomeration_china | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoUrban"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO urban_agglomeration_china ( | ||||||
|  |             id , | ||||||
|  |             particular_year , | ||||||
|  |             name , | ||||||
|  |             name_en , | ||||||
|  |             urban_area , | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{particularYear,jdbcType=VARCHAR}, | ||||||
|  |                      #{name,jdbcType=VARCHAR}, | ||||||
|  |                      #{nameEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{urbanArea,jdbcType=DOUBLE}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
|  |  | ||||||
| </mapper>  | </mapper>  | ||||||
| @@ -3,6 +3,61 @@ | |||||||
| PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||||
| "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||||||
| <mapper namespace="com.ruoyi.system.mapper_yada.VegetationCoverageMapper"> | <mapper namespace="com.ruoyi.system.mapper_yada.VegetationCoverageMapper"> | ||||||
|  |     <resultMap id="RM_Vegetation" type="com.ruoyi.system.domain_yada.VegetationCoverageVO"> | ||||||
|  |  | ||||||
|  |         <result property="id" column="id"/> | ||||||
|  |         <result property="particularYear" column="particular_year"/> | ||||||
|  |         <result property="region" column="region"/> | ||||||
|  |         <result property="regionEn" column="region_en"/> | ||||||
|  |         <result property="protectedLands" column="protected_lands"/> | ||||||
|  |         <result property="nonProtectedLands" column="non_protected_lands"/> | ||||||
|  |         <result property="mountain" column="mountain"/> | ||||||
|  |         <result property="nonMountain" column="non_mountain"/> | ||||||
|  |         <result property="createBy" column="created_by"/> | ||||||
|  |         <result property="createTime" column="created_time"/> | ||||||
|  |     </resultMap> | ||||||
|  |  | ||||||
|  |     <sql id="columns"> | ||||||
|  | 	    <![CDATA[ | ||||||
|  |         id,particular_year,region,region_en,protected_lands,non_protected_lands,mountain,non_mountain,created_by,created_time | ||||||
|  |         ]]> | ||||||
|  | 	</sql> | ||||||
|  |  | ||||||
|  |     <select id="selectVegetation" resultMap="RM_Vegetation"> | ||||||
|  |         SELECT  <include refid="columns"/>  FROM  fvc_npp | ||||||
|  |     </select> | ||||||
|  |  | ||||||
|  |     <delete id="DelVegetation"> | ||||||
|  |         DELETE FROM fvc_npp | ||||||
|  |         WHERE ID=#{id} | ||||||
|  |     </delete> | ||||||
|  |  | ||||||
|  |     <insert id="IntoVegetation"> | ||||||
|  |         <![CDATA[ | ||||||
|  |         INSERT INTO fvc_npp ( | ||||||
|  |             id , | ||||||
|  |             particular_year , | ||||||
|  |             region , | ||||||
|  |             region_en , | ||||||
|  |             protected_lands , | ||||||
|  |             non_protected_lands , | ||||||
|  |             mountain, | ||||||
|  |             non_mountain, | ||||||
|  |             created_by , | ||||||
|  |             created_time | ||||||
|  |         ) VALUES ( | ||||||
|  |                      #{id,jdbcType=VARCHAR}, | ||||||
|  |                      #{particularYear,jdbcType=VARCHAR}, | ||||||
|  |                      #{region,jdbcType=VARCHAR}, | ||||||
|  |                      #{regionEn,jdbcType=VARCHAR}, | ||||||
|  |                      #{protectedLands,jdbcType=DOUBLE}, | ||||||
|  |                      #{nonProtectedLand,jdbcType=DOUBLE}, | ||||||
|  |                      #{mountain,jdbcType=DOUBLE}, | ||||||
|  |                      #{nonMountain,jdbcType=DOUBLE}, | ||||||
|  |                      #{createBy,jdbcType=VARCHAR}, | ||||||
|  |                      #{createTime,jdbcType=DATE} | ||||||
|  |                  ) | ||||||
|  |         ]]> | ||||||
|  |     </insert> | ||||||
|  |  | ||||||
| </mapper>  | </mapper>  | ||||||
		Reference in New Issue
	
	Block a user