亚大综合监测、森林监测添加柬埔寨各省数据
This commit is contained in:
parent
ef66a3ff00
commit
d27dad982b
@ -2,9 +2,13 @@ package com.ruoyi.web.controller.yada;
|
||||
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.system.domain_yada.*;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceChangeVo;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceCoverageVo;
|
||||
import com.ruoyi.system.domain_yada.vo.PmKeyValueEnVo;
|
||||
import com.ruoyi.system.service_yada.IForestDetectionService;
|
||||
import com.ruoyi.system.service_yada.impl.ForestDetectionServiceImpl;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMethod;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
@ -49,4 +53,18 @@ public class ForestDetectionControer {
|
||||
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/forestProvinceCoverage", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各省森林覆盖率", httpMethod = "GET")
|
||||
public AjaxResult forestProvinceCoverage(@RequestParam(value = "country") String country) {
|
||||
ForestProvinceCoverageVo forestProvinceCoverageVo = service.forestProvinceCoverage(country);
|
||||
return AjaxResult.success(forestProvinceCoverageVo);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/forestProvinceChange", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各省森林变化率", httpMethod = "GET")
|
||||
public AjaxResult forestProvinceChange(@RequestParam(value = "country") String country) {
|
||||
ForestProvinceChangeVo forestProvinceChangeVo = service.forestProvinceChange(country);
|
||||
return AjaxResult.success(forestProvinceChangeVo);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -41,6 +41,16 @@ public class MonitorController {
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/provinceCorresponding", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "国家与省份对应关系", httpMethod = "GET")
|
||||
public AjaxResult provinceCorresponding(@RequestParam(value = "country") String country) {
|
||||
List<ProvinceCorrespondingEntity> list = monitorService.provinceCorresponding(country);
|
||||
if (list.isEmpty()) {
|
||||
return AjaxResult.error("未查找到信息");
|
||||
}
|
||||
return AjaxResult.success(list);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/eqiGrading", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "亚大区域地理亚区EQI分级", httpMethod = "GET")
|
||||
public AjaxResult eqiGrading(@RequestParam(value = "year") String year,
|
||||
@ -103,5 +113,54 @@ public class MonitorController {
|
||||
return AjaxResult.success(pmKeyValueVo);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/eqiCountryGrading", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各国EQI分级", httpMethod = "GET")
|
||||
public AjaxResult eqiCountryGrading(@RequestParam(value = "year") String year,
|
||||
@RequestParam(value = "country") String country,
|
||||
@RequestParam(value = "type") String type) {
|
||||
MonitorEQICountryGradingEntity monitorEQICountryGradingEntity = monitorService.eqiCountryGrading(year, country, type);
|
||||
return AjaxResult.success(monitorEQICountryGradingEntity);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/keqiCountry", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各国平均KEQI分布", httpMethod = "GET")
|
||||
public AjaxResult keqiCountry(@RequestParam(value = "country") String country,
|
||||
@RequestParam(value = "type") String type) {
|
||||
MonitorKEQICountryEntity monitorKEQICountryEntity = monitorService.keqiCountry(type, country);
|
||||
return AjaxResult.success(monitorKEQICountryEntity);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/keqiCambodia", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "柬埔寨平均KEQI分布", httpMethod = "GET")
|
||||
public AjaxResult keqiCambodia(@RequestParam(value = "type") String type,
|
||||
@RequestParam(value = "province") String province) {
|
||||
MonitorKEQICambodiaEntity monitorKEQICambodiaEntity = monitorService.keqiCambodia(type, province);
|
||||
return AjaxResult.success(monitorKEQICambodiaEntity);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/eqiCambodiaGrading", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各国EQI分级", httpMethod = "GET")
|
||||
public AjaxResult eqiCambodiaGrading(@RequestParam(value = "year") String year,
|
||||
@RequestParam(value = "province") String province,
|
||||
@RequestParam(value = "type") String type) {
|
||||
MonitorEQICambodiaGradingEntity monitorEQICambodiaGradingEntity = monitorService.eqiCambodiaGrading(year, type, province);
|
||||
return AjaxResult.success(monitorEQICambodiaGradingEntity);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/keqiProvinceRate", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各省平均KEQI变化率", httpMethod = "GET")
|
||||
public AjaxResult keqiProvinceRate(@RequestParam(value = "country") String country,
|
||||
@RequestParam(value = "type") String type) {
|
||||
PmKeyValueEnVo pmKeyValueEnVo = monitorService.keqiProvinceRate(country, type);
|
||||
return AjaxResult.success(pmKeyValueEnVo);
|
||||
}
|
||||
|
||||
@RequestMapping(value = "/eqiProvince", method = {RequestMethod.GET})
|
||||
@ApiOperation(value = "各省平均EQI分布", httpMethod = "GET")
|
||||
public AjaxResult eqiProvince(@RequestParam(value = "country") String country,
|
||||
@RequestParam(value = "year") String year,
|
||||
@RequestParam(value = "type") String type) {
|
||||
PmKeyValueEnVo pmKeyValueEnVo = monitorService.eqiProvince(country, year, type);
|
||||
return AjaxResult.success(pmKeyValueEnVo);
|
||||
}
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
||||
.antMatchers("/*/api-docs").anonymous()
|
||||
.antMatchers("/druid/**").anonymous()
|
||||
// // 除上面外的所有请求全部需要鉴权认证
|
||||
.anyRequest().authenticated()
|
||||
//.anyRequest().authenticated()
|
||||
.and()
|
||||
.headers().frameOptions().disable();
|
||||
httpSecurity.logout().logoutUrl("/logout").logoutSuccessHandler(logoutSuccessHandler);
|
||||
|
@ -0,0 +1,134 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 柬埔寨各省森林变化率
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class ForestProvinceChangeEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String country;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private String percentageGain;
|
||||
|
||||
private String percentageLoss;
|
||||
|
||||
|
||||
public ForestProvinceChangeEntity() {
|
||||
}
|
||||
|
||||
public ForestProvinceChangeEntity(Integer id, String country, String province, String provinceEn, String percentageGain, String percentageLoss) {
|
||||
this.id = id;
|
||||
this.country = country;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.percentageGain = percentageGain;
|
||||
this.percentageLoss = percentageLoss;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentageGain
|
||||
*/
|
||||
public String getPercentageGain() {
|
||||
return percentageGain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentageGain
|
||||
*/
|
||||
public void setPercentageGain(String percentageGain) {
|
||||
this.percentageGain = percentageGain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentageLoss
|
||||
*/
|
||||
public String getPercentageLoss() {
|
||||
return percentageLoss;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentageLoss
|
||||
*/
|
||||
public void setPercentageLoss(String percentageLoss) {
|
||||
this.percentageLoss = percentageLoss;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ForestProvinceChangeEntity{id = " + id + ", country = " + country + ", province = " + province + ", provinceEn = " + provinceEn + ", percentageGain = " + percentageGain + ", percentageLoss = " + percentageLoss + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,133 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 柬埔寨各省森林覆盖率
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class ForestProvinceCoverageEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String country;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private String percentage2015;
|
||||
|
||||
private String percentage2020;
|
||||
|
||||
|
||||
public ForestProvinceCoverageEntity() {
|
||||
}
|
||||
|
||||
public ForestProvinceCoverageEntity(Integer id, String country, String province, String provinceEn, String percentage2015, String percentage2020) {
|
||||
this.id = id;
|
||||
this.country = country;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.percentage2015 = percentage2015;
|
||||
this.percentage2020 = percentage2020;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentage2015
|
||||
*/
|
||||
public String getPercentage2015() {
|
||||
return percentage2015;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentage2015
|
||||
*/
|
||||
public void setPercentage2015(String percentage2015) {
|
||||
this.percentage2015 = percentage2015;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentage2020
|
||||
*/
|
||||
public String getPercentage2020() {
|
||||
return percentage2020;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentage2020
|
||||
*/
|
||||
public void setPercentage2020(String percentage2020) {
|
||||
this.percentage2020 = percentage2020;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ForestProvinceCoveragrEntity{id = " + id + ", country = " + country + ", province = " + province + ", provinceEn = " + provinceEn + ", percentage2015 = " + percentage2015 + ", percentage2020 = " + percentage2020 + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,210 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 柬埔寨各省EQI分级
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorEQICambodiaGradingEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String year;
|
||||
|
||||
private String type;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private String excellent;
|
||||
|
||||
private String good;
|
||||
|
||||
private String middle;
|
||||
|
||||
private String low;
|
||||
|
||||
private String poor;
|
||||
|
||||
|
||||
public MonitorEQICambodiaGradingEntity() {
|
||||
}
|
||||
|
||||
public MonitorEQICambodiaGradingEntity(Integer id, String year, String type, String province, String provinceEn, String excellent, String good, String middle, String low, String poor) {
|
||||
this.id = id;
|
||||
this.year = year;
|
||||
this.type = type;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.excellent = excellent;
|
||||
this.good = good;
|
||||
this.middle = middle;
|
||||
this.low = low;
|
||||
this.poor = poor;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return year
|
||||
*/
|
||||
public String getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param year
|
||||
*/
|
||||
public void setYear(String year) {
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return excellent
|
||||
*/
|
||||
public String getExcellent() {
|
||||
return excellent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param excellent
|
||||
*/
|
||||
public void setExcellent(String excellent) {
|
||||
this.excellent = excellent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return good
|
||||
*/
|
||||
public String getGood() {
|
||||
return good;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param good
|
||||
*/
|
||||
public void setGood(String good) {
|
||||
this.good = good;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return middle
|
||||
*/
|
||||
public String getMiddle() {
|
||||
return middle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param middle
|
||||
*/
|
||||
public void setMiddle(String middle) {
|
||||
this.middle = middle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return low
|
||||
*/
|
||||
public String getLow() {
|
||||
return low;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param low
|
||||
*/
|
||||
public void setLow(String low) {
|
||||
this.low = low;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return poor
|
||||
*/
|
||||
public String getPoor() {
|
||||
return poor;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param poor
|
||||
*/
|
||||
public void setPoor(String poor) {
|
||||
this.poor = poor;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MonitorEQICambodiaGradingEntity{id = " + id + ", year = " + year + ", type = " + type + ", province = " + province + ", provinceEn = " + provinceEn + ", excellent = " + excellent + ", good = " + good + ", middle = " + middle + ", low = " + low + ", poor = " + poor + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,210 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 各国EQI分级
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorEQICountryGradingEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String year;
|
||||
|
||||
private String type;
|
||||
|
||||
private String country;
|
||||
|
||||
private String countryEn;
|
||||
|
||||
private String excellent;
|
||||
|
||||
private String good;
|
||||
|
||||
private String middle;
|
||||
|
||||
private String low;
|
||||
|
||||
private String poor;
|
||||
|
||||
|
||||
public MonitorEQICountryGradingEntity() {
|
||||
}
|
||||
|
||||
public MonitorEQICountryGradingEntity(Integer id, String year, String type, String country, String countryEn, String excellent, String good, String middle, String low, String poor) {
|
||||
this.id = id;
|
||||
this.year = year;
|
||||
this.type = type;
|
||||
this.country = country;
|
||||
this.countryEn = countryEn;
|
||||
this.excellent = excellent;
|
||||
this.good = good;
|
||||
this.middle = middle;
|
||||
this.low = low;
|
||||
this.poor = poor;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return year
|
||||
*/
|
||||
public String getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param year
|
||||
*/
|
||||
public void setYear(String year) {
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return countryEn
|
||||
*/
|
||||
public String getCountryEn() {
|
||||
return countryEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param countryEn
|
||||
*/
|
||||
public void setCountryEn(String countryEn) {
|
||||
this.countryEn = countryEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return excellent
|
||||
*/
|
||||
public String getExcellent() {
|
||||
return excellent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param excellent
|
||||
*/
|
||||
public void setExcellent(String excellent) {
|
||||
this.excellent = excellent;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return good
|
||||
*/
|
||||
public String getGood() {
|
||||
return good;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param good
|
||||
*/
|
||||
public void setGood(String good) {
|
||||
this.good = good;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return middle
|
||||
*/
|
||||
public String getMiddle() {
|
||||
return middle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param middle
|
||||
*/
|
||||
public void setMiddle(String middle) {
|
||||
this.middle = middle;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return low
|
||||
*/
|
||||
public String getLow() {
|
||||
return low;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param low
|
||||
*/
|
||||
public void setLow(String low) {
|
||||
this.low = low;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return poor
|
||||
*/
|
||||
public String getPoor() {
|
||||
return poor;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param poor
|
||||
*/
|
||||
public void setPoor(String poor) {
|
||||
this.poor = poor;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MonitorEQICountryGradingEntity{id = " + id + ", year = " + year + ", type = " + type + ", country = " + country + ", countryEn = " + countryEn + ", excellent = " + excellent + ", good = " + good + ", middle = " + middle + ", low = " + low + ", poor = " + poor + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,228 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 各省平均EQI分布
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorEQIProvinceEntity {
|
||||
private Integer id;
|
||||
|
||||
private String year;
|
||||
|
||||
private String country;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private String all;
|
||||
|
||||
private String forest;
|
||||
|
||||
private String shrub;
|
||||
|
||||
private String grass;
|
||||
|
||||
private String farmland;
|
||||
|
||||
private String mountain;
|
||||
|
||||
|
||||
public MonitorEQIProvinceEntity() {
|
||||
}
|
||||
|
||||
public MonitorEQIProvinceEntity(Integer id, String year, String country, String province, String provinceEn, String all, String forest, String shrub, String grass, String farmland, String mountain) {
|
||||
this.id = id;
|
||||
this.year = year;
|
||||
this.country = country;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.all = all;
|
||||
this.forest = forest;
|
||||
this.shrub = shrub;
|
||||
this.grass = grass;
|
||||
this.farmland = farmland;
|
||||
this.mountain = mountain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return year
|
||||
*/
|
||||
public String getYear() {
|
||||
return year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param year
|
||||
*/
|
||||
public void setYear(String year) {
|
||||
this.year = year;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return all
|
||||
*/
|
||||
public String getAll() {
|
||||
return all;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param all
|
||||
*/
|
||||
public void setAll(String all) {
|
||||
this.all = all;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return forest
|
||||
*/
|
||||
public String getForest() {
|
||||
return forest;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param forest
|
||||
*/
|
||||
public void setForest(String forest) {
|
||||
this.forest = forest;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return shrub
|
||||
*/
|
||||
public String getShrub() {
|
||||
return shrub;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param shrub
|
||||
*/
|
||||
public void setShrub(String shrub) {
|
||||
this.shrub = shrub;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return grass
|
||||
*/
|
||||
public String getGrass() {
|
||||
return grass;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param grass
|
||||
*/
|
||||
public void setGrass(String grass) {
|
||||
this.grass = grass;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return farmland
|
||||
*/
|
||||
public String getFarmland() {
|
||||
return farmland;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param farmland
|
||||
*/
|
||||
public void setFarmland(String farmland) {
|
||||
this.farmland = farmland;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return mountain
|
||||
*/
|
||||
public String getMountain() {
|
||||
return mountain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param mountain
|
||||
*/
|
||||
public void setMountain(String mountain) {
|
||||
this.mountain = mountain;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MonitorEQIProvinceEntity{id = " + id + ", year = " + year + ", country = " + country + ", province = " + province + ", provinceEn = " + provinceEn + ", all = " + all + ", forest = " + forest + ", shrub = " + shrub + ", grass = " + grass + ", farmland = " + farmland + ", mountain = " + mountain + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,190 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 柬埔寨平均KEQI分布
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorKEQICambodiaEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String type;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private String significantDecline;
|
||||
|
||||
private String slightDecline;
|
||||
|
||||
private String unchanged;
|
||||
|
||||
private String slightRise;
|
||||
|
||||
private String significantRise;
|
||||
|
||||
|
||||
public MonitorKEQICambodiaEntity() {
|
||||
}
|
||||
|
||||
public MonitorKEQICambodiaEntity(Integer id, String type, String province, String provinceEn, String significantDecline, String slightDecline, String unchanged, String slightRise, String significantRise) {
|
||||
this.id = id;
|
||||
this.type = type;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.significantDecline = significantDecline;
|
||||
this.slightDecline = slightDecline;
|
||||
this.unchanged = unchanged;
|
||||
this.slightRise = slightRise;
|
||||
this.significantRise = significantRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return significantDecline
|
||||
*/
|
||||
public String getSignificantDecline() {
|
||||
return significantDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param significantDecline
|
||||
*/
|
||||
public void setSignificantDecline(String significantDecline) {
|
||||
this.significantDecline = significantDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return slightDecline
|
||||
*/
|
||||
public String getSlightDecline() {
|
||||
return slightDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param slightDecline
|
||||
*/
|
||||
public void setSlightDecline(String slightDecline) {
|
||||
this.slightDecline = slightDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return unchanged
|
||||
*/
|
||||
public String getUnchanged() {
|
||||
return unchanged;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param unchanged
|
||||
*/
|
||||
public void setUnchanged(String unchanged) {
|
||||
this.unchanged = unchanged;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return slightRise
|
||||
*/
|
||||
public String getSlightRise() {
|
||||
return slightRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param slightRise
|
||||
*/
|
||||
public void setSlightRise(String slightRise) {
|
||||
this.slightRise = slightRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return significantRise
|
||||
*/
|
||||
public String getSignificantRise() {
|
||||
return significantRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param significantRise
|
||||
*/
|
||||
public void setSignificantRise(String significantRise) {
|
||||
this.significantRise = significantRise;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MonitorKEQICambodiaEntity{id = " + id + ", type = " + type + ", province = " + province + ", provinceEn = " + provinceEn + ", significantDecline = " + significantDecline + ", slightDecline = " + slightDecline + ", unchanged = " + unchanged + ", slightRise = " + slightRise + ", significantRise = " + significantRise + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,191 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 各国平均KEQI分布
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorKEQICountryEntity {
|
||||
|
||||
private Integer id;
|
||||
|
||||
private String type;
|
||||
|
||||
private String country;
|
||||
|
||||
private String countryEn;
|
||||
|
||||
private String significantDecline;
|
||||
|
||||
private String slightDecline;
|
||||
|
||||
private String unchanged;
|
||||
|
||||
private String slightRise;
|
||||
|
||||
private String significantRise;
|
||||
|
||||
|
||||
public MonitorKEQICountryEntity() {
|
||||
}
|
||||
|
||||
public MonitorKEQICountryEntity(Integer id, String type, String country, String countryEn, String significantDecline, String slightDecline, String unchanged, String slightRise, String significantRise) {
|
||||
this.id = id;
|
||||
this.type = type;
|
||||
this.country = country;
|
||||
this.countryEn = countryEn;
|
||||
this.significantDecline = significantDecline;
|
||||
this.slightDecline = slightDecline;
|
||||
this.unchanged = unchanged;
|
||||
this.slightRise = slightRise;
|
||||
this.significantRise = significantRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return type
|
||||
*/
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param type
|
||||
*/
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return countryEn
|
||||
*/
|
||||
public String getCountryEn() {
|
||||
return countryEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param countryEn
|
||||
*/
|
||||
public void setCountryEn(String countryEn) {
|
||||
this.countryEn = countryEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return significantDecline
|
||||
*/
|
||||
public String getSignificantDecline() {
|
||||
return significantDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param significantDecline
|
||||
*/
|
||||
public void setSignificantDecline(String significantDecline) {
|
||||
this.significantDecline = significantDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return slightDecline
|
||||
*/
|
||||
public String getSlightDecline() {
|
||||
return slightDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param slightDecline
|
||||
*/
|
||||
public void setSlightDecline(String slightDecline) {
|
||||
this.slightDecline = slightDecline;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return unchanged
|
||||
*/
|
||||
public String getUnchanged() {
|
||||
return unchanged;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param unchanged
|
||||
*/
|
||||
public void setUnchanged(String unchanged) {
|
||||
this.unchanged = unchanged;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return slightRise
|
||||
*/
|
||||
public String getSlightRise() {
|
||||
return slightRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param slightRise
|
||||
*/
|
||||
public void setSlightRise(String slightRise) {
|
||||
this.slightRise = slightRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return significantRise
|
||||
*/
|
||||
public String getSignificantRise() {
|
||||
return significantRise;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param significantRise
|
||||
*/
|
||||
public void setSignificantRise(String significantRise) {
|
||||
this.significantRise = significantRise;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MonitorKEQICountryEntity{id = " + id + ", type = " + type + ", country = " + country + ", countryEn = " + countryEn + ", significantDecline = " + significantDecline + ", slightDecline = " + slightDecline + ", unchanged = " + unchanged + ", slightRise = " + slightRise + ", significantRise = " + significantRise + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,208 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
/**
|
||||
* 各省平均KEQI变化率
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class MonitorKEQIProvinceRateEntity {
|
||||
private Integer id;
|
||||
|
||||
private String country;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
private Double all;
|
||||
|
||||
private Double forest;
|
||||
|
||||
private Double shrub;
|
||||
|
||||
private Double grass;
|
||||
|
||||
private Double farmland;
|
||||
|
||||
private Double mountain;
|
||||
|
||||
|
||||
public MonitorKEQIProvinceRateEntity() {
|
||||
}
|
||||
|
||||
public MonitorKEQIProvinceRateEntity(Integer id, String country, String province, String provinceEn, Double all, Double forest, Double shrub, Double grass, Double farmland, Double mountain) {
|
||||
this.id = id;
|
||||
this.country = country;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.all = all;
|
||||
this.forest = forest;
|
||||
this.shrub = shrub;
|
||||
this.grass = grass;
|
||||
this.farmland = farmland;
|
||||
this.mountain = mountain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return all
|
||||
*/
|
||||
public Double getAll() {
|
||||
return all;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param all
|
||||
*/
|
||||
public void setAll(Double all) {
|
||||
this.all = all;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return forest
|
||||
*/
|
||||
public Double getForest() {
|
||||
return forest;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param forest
|
||||
*/
|
||||
public void setForest(Double forest) {
|
||||
this.forest = forest;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return shrub
|
||||
*/
|
||||
public Double getShrub() {
|
||||
return shrub;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param shrub
|
||||
*/
|
||||
public void setShrub(Double shrub) {
|
||||
this.shrub = shrub;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return grass
|
||||
*/
|
||||
public Double getGrass() {
|
||||
return grass;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param grass
|
||||
*/
|
||||
public void setGrass(Double grass) {
|
||||
this.grass = grass;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return farmland
|
||||
*/
|
||||
public Double getFarmland() {
|
||||
return farmland;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param farmland
|
||||
*/
|
||||
public void setFarmland(Double farmland) {
|
||||
this.farmland = farmland;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return mountain
|
||||
*/
|
||||
public Double getMountain() {
|
||||
return mountain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param mountain
|
||||
*/
|
||||
public void setMountain(Double mountain) {
|
||||
this.mountain = mountain;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "MonitorKEQIProvinceRateEntity{id = " + id + ", country = " + country + ", province = " + province + ", provinceEn = " + provinceEn + ", all = " + all + ", forest = " + forest + ", shrub = " + shrub + ", grass = " + grass + ", farmland = " + farmland + ", mountain = " + mountain + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package com.ruoyi.system.domain_yada.entity;
|
||||
|
||||
public class ProvinceCorrespondingEntity {
|
||||
private Integer id;
|
||||
|
||||
private String country;
|
||||
|
||||
private String province;
|
||||
|
||||
private String provinceEn;
|
||||
|
||||
public ProvinceCorrespondingEntity() {
|
||||
}
|
||||
|
||||
public ProvinceCorrespondingEntity(Integer id, String country, String province, String provinceEn) {
|
||||
this.id = id;
|
||||
this.country = country;
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return id
|
||||
*/
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param id
|
||||
*/
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return country
|
||||
*/
|
||||
public String getCountry() {
|
||||
return country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param country
|
||||
*/
|
||||
public void setCountry(String country) {
|
||||
this.country = country;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public String getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(String province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public String getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(String provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ProvinceCorrespondingEntity{id = " + id + ", country = " + country + ", province = " + province + ", provinceEn = " + provinceEn + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
package com.ruoyi.system.domain_yada.vo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 柬埔寨各省森林覆盖率
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class ForestProvinceChangeVo {
|
||||
|
||||
private List<String> province;
|
||||
private List<String> provinceEn;
|
||||
private List<String> percentageGain;
|
||||
private List<String> percentageLoss;
|
||||
|
||||
|
||||
public ForestProvinceChangeVo() {
|
||||
}
|
||||
|
||||
public ForestProvinceChangeVo(List<String> province, List<String> provinceEn, List<String> percentageGain, List<String> percentageLoss) {
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.percentageGain = percentageGain;
|
||||
this.percentageLoss = percentageLoss;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public List<String> getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(List<String> province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public List<String> getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(List<String> provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentageGain
|
||||
*/
|
||||
public List<String> getPercentageGain() {
|
||||
return percentageGain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentageGain
|
||||
*/
|
||||
public void setPercentageGain(List<String> percentageGain) {
|
||||
this.percentageGain = percentageGain;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentageLoss
|
||||
*/
|
||||
public List<String> getPercentageLoss() {
|
||||
return percentageLoss;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentageLoss
|
||||
*/
|
||||
public void setPercentageLoss(List<String> percentageLoss) {
|
||||
this.percentageLoss = percentageLoss;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return "ForestProvinceChangeVo{province = " + province + ", provinceEn = " + provinceEn + ", percentageGain = " + percentageGain + ", percentageLoss = " + percentageLoss + "}";
|
||||
}
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
package com.ruoyi.system.domain_yada.vo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 柬埔寨各省森林覆盖率
|
||||
* @author Mr.C
|
||||
*/
|
||||
public class ForestProvinceCoverageVo {
|
||||
|
||||
private List<String> province;
|
||||
private List<String> provinceEn;
|
||||
private List<String> percentage2015;
|
||||
private List<String> percentage2020;
|
||||
|
||||
|
||||
public ForestProvinceCoverageVo() {
|
||||
}
|
||||
|
||||
public ForestProvinceCoverageVo(List<String> province, List<String> provinceEn, List<String> percentage2015, List<String> percentage2020) {
|
||||
this.province = province;
|
||||
this.provinceEn = provinceEn;
|
||||
this.percentage2015 = percentage2015;
|
||||
this.percentage2020 = percentage2020;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return province
|
||||
*/
|
||||
public List<String> getProvince() {
|
||||
return province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param province
|
||||
*/
|
||||
public void setProvince(List<String> province) {
|
||||
this.province = province;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return provinceEn
|
||||
*/
|
||||
public List<String> getProvinceEn() {
|
||||
return provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param provinceEn
|
||||
*/
|
||||
public void setProvinceEn(List<String> provinceEn) {
|
||||
this.provinceEn = provinceEn;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentage2015
|
||||
*/
|
||||
public List<String> getPercentage2015() {
|
||||
return percentage2015;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentage2015
|
||||
*/
|
||||
public void setPercentage2015(List<String> percentage2015) {
|
||||
this.percentage2015 = percentage2015;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取
|
||||
* @return percentage2020
|
||||
*/
|
||||
public List<String> getPercentage2020() {
|
||||
return percentage2020;
|
||||
}
|
||||
|
||||
/**
|
||||
* 设置
|
||||
* @param percentage2020
|
||||
*/
|
||||
public void setPercentage2020(List<String> percentage2020) {
|
||||
this.percentage2020 = percentage2020;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ForestProvinceCoverageVo{province = " + province + ", provinceEn = " + provinceEn + ", percentage2015 = " + percentage2015 + ", percentage2020 = " + percentage2020 + "}";
|
||||
}
|
||||
}
|
@ -4,8 +4,9 @@ import com.ruoyi.system.domain_yada.ChangeTable;
|
||||
import com.ruoyi.system.domain_yada.CloumnarTable;
|
||||
import com.ruoyi.system.domain_yada.TypeConversion;
|
||||
import com.ruoyi.system.domain_yada.TypeTable;
|
||||
import com.ruoyi.system.domain_yada.entity.ForestProvinceChangeEntity;
|
||||
import com.ruoyi.system.domain_yada.entity.ForestProvinceCoverageEntity;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@ -22,4 +23,18 @@ public interface ForestDetectionMapper {
|
||||
List<ChangeTable> selectChange();
|
||||
|
||||
List<TypeConversion> selectConversion();
|
||||
|
||||
/**
|
||||
* 各省森林覆盖率
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
List<ForestProvinceCoverageEntity> forestProvinceCoverage(@Param("country") String country);
|
||||
|
||||
/**
|
||||
* 各省森林变化率
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
List<ForestProvinceChangeEntity> forestProvinceChange(@Param("country") String country);
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
package com.ruoyi.system.mapper_yada;
|
||||
|
||||
import com.ruoyi.common.utils.StringUtils;
|
||||
import com.ruoyi.system.domain_yada.entity.*;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
@ -20,6 +21,13 @@ public interface MonitorMapper {
|
||||
*/
|
||||
List<MonitorCountryCorrespondingEntity> countryCorresponding(@Param("region") String region);
|
||||
|
||||
/**
|
||||
* 国家与省份对应关系
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
List<ProvinceCorrespondingEntity> provinceCorresponding(@Param("country") String country);
|
||||
|
||||
/**
|
||||
* 亚大区域地理亚区EQI分级
|
||||
*
|
||||
@ -47,7 +55,7 @@ public interface MonitorMapper {
|
||||
* @return
|
||||
*/
|
||||
List<MonitorEQICountryEntity> eqiCountry(@Param("year") String year,
|
||||
@Param("country") List<String>country);
|
||||
@Param("country") List<String> country);
|
||||
|
||||
/**
|
||||
* 各地理亚区平均KEQI分布
|
||||
@ -75,11 +83,70 @@ public interface MonitorMapper {
|
||||
|
||||
/**
|
||||
* 各地理亚区平均EQI分布折线图
|
||||
*
|
||||
* @param region
|
||||
* @return
|
||||
*/
|
||||
List<MonitorEQIAsiaEntity> eqiAsiaLine(@Param("region") String region,
|
||||
@Param("start") String start,
|
||||
@Param("end") String end);
|
||||
|
||||
/**
|
||||
* 各国EQI分级
|
||||
*
|
||||
* @param year
|
||||
* @param country
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
MonitorEQICountryGradingEntity eqiCountryGrading(@Param("year") String year,
|
||||
@Param("country") String country,
|
||||
@Param("type") String type);
|
||||
|
||||
/**
|
||||
* 各国KEQI分布
|
||||
*
|
||||
* @param type
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
MonitorKEQICountryEntity keqiCountry(@Param("type") String type,
|
||||
@Param("country") String country);
|
||||
|
||||
/**
|
||||
* 柬埔寨KEQI分布
|
||||
* @param type
|
||||
* @param province
|
||||
* @return
|
||||
*/
|
||||
MonitorKEQICambodiaEntity keqiCambodia(@Param("type") String type,
|
||||
@Param("province") String province);
|
||||
|
||||
/**
|
||||
* 柬埔寨各省EQI分级
|
||||
* @param year
|
||||
* @param type
|
||||
* @param province
|
||||
* @return
|
||||
*/
|
||||
MonitorEQICambodiaGradingEntity eqiCambodiaGrading(@Param("year") String year,
|
||||
@Param("type") String type,
|
||||
@Param("province") String province);
|
||||
|
||||
/**
|
||||
* 各省KEQI变化率
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
List<MonitorKEQIProvinceRateEntity> keqiProvinceRate(@Param("country") String country);
|
||||
|
||||
/**
|
||||
* 各省平均EQI分布
|
||||
* @param country
|
||||
* @param year
|
||||
* @return
|
||||
*/
|
||||
List<MonitorEQIProvinceEntity> eqiProvince(@Param("country") String country,
|
||||
@Param("year")String year);
|
||||
}
|
||||
|
||||
|
@ -4,6 +4,8 @@ import com.ruoyi.system.domain_yada.ChangeTable;
|
||||
import com.ruoyi.system.domain_yada.CloumnarTable;
|
||||
import com.ruoyi.system.domain_yada.TypeConversion;
|
||||
import com.ruoyi.system.domain_yada.TypeTable;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceChangeVo;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceCoverageVo;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
@ -21,4 +23,18 @@ public interface IForestDetectionService {
|
||||
List<ChangeTable> selectChange();
|
||||
|
||||
List<TypeConversion> selectConversion();
|
||||
|
||||
/**
|
||||
* 各省森林覆盖率
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
ForestProvinceCoverageVo forestProvinceCoverage(String country);
|
||||
|
||||
/**
|
||||
* 各省森林变化率
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
ForestProvinceChangeVo forestProvinceChange(String country);
|
||||
}
|
||||
|
@ -23,6 +23,13 @@ public interface MonitorService {
|
||||
*/
|
||||
List<MonitorCountryCorrespondingEntity> countryCorresponding(String region);
|
||||
|
||||
/**
|
||||
* 国家与省份对应关系
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
List<ProvinceCorrespondingEntity> provinceCorresponding(String country);
|
||||
|
||||
/**
|
||||
* 亚大区域地理亚区EQI分级
|
||||
*
|
||||
@ -85,4 +92,55 @@ public interface MonitorService {
|
||||
* @return
|
||||
*/
|
||||
PmKeyValueVo eqiAsiaLine(String region, String type, String start, String end);
|
||||
|
||||
/**
|
||||
* 各国EQI分级
|
||||
* @param year
|
||||
* @param country
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
MonitorEQICountryGradingEntity eqiCountryGrading(String year, String country, String type);
|
||||
|
||||
/**
|
||||
* 各国平均KEQI分布
|
||||
* @param type
|
||||
* @param country
|
||||
* @return
|
||||
*/
|
||||
MonitorKEQICountryEntity keqiCountry(String type,String country);
|
||||
|
||||
/**
|
||||
* 柬埔寨平均KEQI分布
|
||||
* @param type
|
||||
* @param province
|
||||
* @return
|
||||
*/
|
||||
MonitorKEQICambodiaEntity keqiCambodia(String type,String province);
|
||||
|
||||
/**
|
||||
* 柬埔寨各省EQI分级
|
||||
* @param year
|
||||
* @param province
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
MonitorEQICambodiaGradingEntity eqiCambodiaGrading(String year, String province, String type);
|
||||
|
||||
/**
|
||||
* 各省KEQI变化率
|
||||
* @param country
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
PmKeyValueEnVo keqiProvinceRate(String country, String type);
|
||||
|
||||
/**
|
||||
* 各省平均EQI分布
|
||||
* @param country
|
||||
* @param year
|
||||
* @param type
|
||||
* @return
|
||||
*/
|
||||
PmKeyValueEnVo eqiProvince(String country,String year,String type);
|
||||
}
|
||||
|
@ -4,13 +4,17 @@ import com.ruoyi.system.domain_yada.ChangeTable;
|
||||
import com.ruoyi.system.domain_yada.CloumnarTable;
|
||||
import com.ruoyi.system.domain_yada.TypeConversion;
|
||||
import com.ruoyi.system.domain_yada.TypeTable;
|
||||
import com.ruoyi.system.domain_yada.entity.ForestProvinceChangeEntity;
|
||||
import com.ruoyi.system.domain_yada.entity.ForestProvinceCoverageEntity;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceChangeVo;
|
||||
import com.ruoyi.system.domain_yada.vo.ForestProvinceCoverageVo;
|
||||
import com.ruoyi.system.mapper_yada.ForestDetectionMapper;
|
||||
import com.ruoyi.system.service_yada.IForestDetectionService;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -42,4 +46,36 @@ public class ForestDetectionServiceImpl implements IForestDetectionService {
|
||||
public List<TypeConversion> selectConversion() {
|
||||
return mapper.selectConversion();
|
||||
}
|
||||
|
||||
@Override
|
||||
public ForestProvinceCoverageVo forestProvinceCoverage(String country) {
|
||||
List<ForestProvinceCoverageEntity> list = mapper.forestProvinceCoverage(country);
|
||||
List<String> province = new ArrayList<>();
|
||||
List<String> provinceEn = new ArrayList<>();
|
||||
List<String> percentage2015 = new ArrayList<>();
|
||||
List<String> percentage2020 = new ArrayList<>();
|
||||
list.forEach(v->{
|
||||
province.add(v.getProvince());
|
||||
provinceEn.add(v.getProvinceEn());
|
||||
percentage2015.add(v.getPercentage2015());
|
||||
percentage2020.add(v.getPercentage2020());
|
||||
});
|
||||
return new ForestProvinceCoverageVo(province,provinceEn,percentage2015,percentage2020);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ForestProvinceChangeVo forestProvinceChange(String country) {
|
||||
List<ForestProvinceChangeEntity> list = mapper.forestProvinceChange(country);
|
||||
List<String> province = new ArrayList<>();
|
||||
List<String> provinceEn = new ArrayList<>();
|
||||
List<String> percentageGain = new ArrayList<>();
|
||||
List<String> percentageLoss = new ArrayList<>();
|
||||
list.forEach(v->{
|
||||
province.add(v.getProvince());
|
||||
provinceEn.add(v.getProvinceEn());
|
||||
percentageGain.add(v.getPercentageGain());
|
||||
percentageLoss.add(v.getPercentageLoss());
|
||||
});
|
||||
return new ForestProvinceChangeVo(province,provinceEn,percentageGain,percentageLoss);
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,11 @@ public class MonitorImpl implements MonitorService {
|
||||
return monitorMapper.countryCorresponding(region);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ProvinceCorrespondingEntity> provinceCorresponding(String country) {
|
||||
return monitorMapper.provinceCorresponding(country);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonitorEQIGradingEntity eqiGrading(String year, String type, String region) {
|
||||
return monitorMapper.eqiGrading(year, type, region);
|
||||
@ -255,5 +260,92 @@ public class MonitorImpl implements MonitorService {
|
||||
return new PmKeyValueVo(key,value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonitorEQICountryGradingEntity eqiCountryGrading(String year, String country, String type) {
|
||||
return monitorMapper.eqiCountryGrading(year, country, type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonitorKEQICountryEntity keqiCountry(String type, String country) {
|
||||
return monitorMapper.keqiCountry(type, country);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonitorKEQICambodiaEntity keqiCambodia(String type, String province) {
|
||||
return monitorMapper.keqiCambodia(type,province);
|
||||
}
|
||||
|
||||
@Override
|
||||
public MonitorEQICambodiaGradingEntity eqiCambodiaGrading(String year, String province, String type) {
|
||||
return monitorMapper.eqiCambodiaGrading(year,province,type);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PmKeyValueEnVo keqiProvinceRate(String country, String type) {
|
||||
List<MonitorKEQIProvinceRateEntity> list = monitorMapper.keqiProvinceRate(country);
|
||||
List<String> key = new ArrayList<>();
|
||||
List<String> keyEn = new ArrayList<>();
|
||||
List<Double> value = new ArrayList<>();
|
||||
for (MonitorKEQIProvinceRateEntity entity : list) {
|
||||
key.add(entity.getProvince());
|
||||
keyEn.add(entity.getProvinceEn());
|
||||
switch (type) {
|
||||
case FOREST:
|
||||
value.add(entity.getForest());
|
||||
break;
|
||||
case SHRUB:
|
||||
value.add(entity.getShrub());
|
||||
break;
|
||||
case GRASS:
|
||||
value.add(entity.getGrass());
|
||||
break;
|
||||
case FARMLAND:
|
||||
value.add(entity.getFarmland());
|
||||
break;
|
||||
case MOUNTAIN:
|
||||
value.add(entity.getMountain());
|
||||
break;
|
||||
case ALL:
|
||||
value.add(entity.getAll());
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
return new PmKeyValueEnVo(key,keyEn,value);
|
||||
}
|
||||
|
||||
@Override
|
||||
public PmKeyValueEnVo eqiProvince(String country, String year, String type) {
|
||||
List<MonitorEQIProvinceEntity> list = monitorMapper.eqiProvince(country, year);
|
||||
List<String> key = new ArrayList<>();
|
||||
List<String> keyEn = new ArrayList<>();
|
||||
List<Double> value = new ArrayList<>();
|
||||
for (MonitorEQIProvinceEntity entity : list) {
|
||||
key.add(entity.getProvince());
|
||||
keyEn.add(entity.getProvinceEn());
|
||||
switch (type) {
|
||||
case FOREST:
|
||||
value.add(Double.valueOf(entity.getForest()));
|
||||
break;
|
||||
case SHRUB:
|
||||
value.add(Double.valueOf(entity.getShrub()));
|
||||
break;
|
||||
case GRASS:
|
||||
value.add(Double.valueOf(entity.getGrass()));
|
||||
break;
|
||||
case FARMLAND:
|
||||
value.add(Double.valueOf(entity.getFarmland()));
|
||||
break;
|
||||
case MOUNTAIN:
|
||||
value.add(Double.valueOf(entity.getMountain()));
|
||||
break;
|
||||
case ALL:
|
||||
value.add(Double.valueOf(entity.getAll()));
|
||||
break;
|
||||
default:
|
||||
}
|
||||
}
|
||||
return new PmKeyValueEnVo(key,keyEn,value);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,12 +4,32 @@
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.ruoyi.system.mapper_yada.ForestDetectionMapper">
|
||||
|
||||
<!-- <resultMap id="RM_TypeTable" type="com.ruoyi.system.domain_yada.TypeTable">-->
|
||||
<!-- <result property="id" column="id"/>-->
|
||||
<!-- <result property="class1" column="class1"/>-->
|
||||
<!-- <result property="percentage" column="percentage"/>-->
|
||||
<!-- </resultMap>-->
|
||||
<!-- -->
|
||||
<!-- <resultMap id="RM_TypeTable" type="com.ruoyi.system.domain_yada.TypeTable">-->
|
||||
<!-- <result property="id" column="id"/>-->
|
||||
<!-- <result property="class1" column="class1"/>-->
|
||||
<!-- <result property="percentage" column="percentage"/>-->
|
||||
<!-- </resultMap>-->
|
||||
<!-- -->
|
||||
|
||||
<resultMap id="Forest_Province_Coverage"
|
||||
type="com.ruoyi.system.domain_yada.entity.ForestProvinceCoverageEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="percentage2015" property="percentage2015"/>
|
||||
<result column="percentage2020" property="percentage2020"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Forest_Province_Change"
|
||||
type="com.ruoyi.system.domain_yada.entity.ForestProvinceChangeEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="percentage_gain" property="percentageGain"/>
|
||||
<result column="percentage_loss" property="percentageLoss"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectType" resultType="com.ruoyi.system.domain_yada.TypeTable">
|
||||
SELECT id,class1,percentage,china,year1 FROM type_table
|
||||
@ -20,14 +40,30 @@
|
||||
|
||||
|
||||
<select id="selectChange" resultType="com.ruoyi.system.domain_yada.ChangeTable">
|
||||
SELECT id,country,forestloss,forestgain,china FROM change_table
|
||||
SELECT id, country, forestloss, forestgain, china
|
||||
FROM change_table
|
||||
</select>
|
||||
|
||||
<select id="selectCloumnar" resultType="com.ruoyi.system.domain_yada.CloumnarTable">
|
||||
SELECT id,country,year,forestcover,china FROM columnar_table
|
||||
SELECT id, country, year, forestcover, china
|
||||
FROM columnar_table
|
||||
</select>
|
||||
|
||||
<select id="selectConversion" resultType="com.ruoyi.system.domain_yada.TypeConversion">
|
||||
SELECT id,class1,increase,reduce FROM type_conversion
|
||||
SELECT id, class1, increase, reduce
|
||||
FROM type_conversion
|
||||
</select>
|
||||
|
||||
<select id="forestProvinceCoverage" resultMap="Forest_Province_Coverage">
|
||||
SELECT id, country, province, province_en, percentage2015, percentage2020
|
||||
FROM forest_province_coverage
|
||||
where country = #{country}
|
||||
</select>
|
||||
|
||||
|
||||
<select id="forestProvinceChange" resultMap="Forest_Province_Change">
|
||||
SELECT id, country, province, province_en, percentage_gain, percentage_loss
|
||||
FROM forest_province_change
|
||||
where country = #{country}
|
||||
</select>
|
||||
</mapper>
|
@ -100,6 +100,102 @@
|
||||
<result column="mountain" property="mountain"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_EQI_Country_Grading"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorEQICountryGradingEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="year" property="year"/>
|
||||
<result column="type" property="type"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="country_en" property="countryEn"/>
|
||||
<result column="excellent" property="excellent"/>
|
||||
<result column="good" property="good"/>
|
||||
<result column="middle" property="middle"/>
|
||||
<result column="low" property="low"/>
|
||||
<result column="poor" property="poor"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_KEQI_Country"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorKEQICountryEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="type" property="type"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="country_en" property="countryEn"/>
|
||||
<result column="significant_decline" property="significantDecline"/>
|
||||
<result column="slight_decline" property="slightDecline"/>
|
||||
<result column="unchanged" property="unchanged"/>
|
||||
<result column="slight_rise" property="slightRise"/>
|
||||
<result column="significant_rise" property="significantRise"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_KEQI_Cambodia"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorKEQICambodiaEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="type" property="type"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="significant_decline" property="significantDecline"/>
|
||||
<result column="slight_decline" property="slightDecline"/>
|
||||
<result column="unchanged" property="unchanged"/>
|
||||
<result column="slight_rise" property="slightRise"/>
|
||||
<result column="significant_rise" property="significantRise"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_EQI_Cambodia_Grading"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorEQICambodiaGradingEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="year" property="year"/>
|
||||
<result column="type" property="type"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="excellent" property="excellent"/>
|
||||
<result column="good" property="good"/>
|
||||
<result column="middle" property="middle"/>
|
||||
<result column="low" property="low"/>
|
||||
<result column="poor" property="poor"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_KEQI_Province_Rate"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorKEQIProvinceRateEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="all" property="all"/>
|
||||
<result column="forest" property="forest"/>
|
||||
<result column="shrub" property="shrub"/>
|
||||
<result column="grass" property="grass"/>
|
||||
<result column="farmland" property="farmland"/>
|
||||
<result column="mountain" property="mountain"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Monitor_EQI_Province"
|
||||
type="com.ruoyi.system.domain_yada.entity.MonitorEQIProvinceEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="year" property="year"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
<result column="all" property="all"/>
|
||||
<result column="forest" property="forest"/>
|
||||
<result column="shrub" property="shrub"/>
|
||||
<result column="grass" property="grass"/>
|
||||
<result column="farmland" property="farmland"/>
|
||||
<result column="mountain" property="mountain"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="Province_Corresponding"
|
||||
type="com.ruoyi.system.domain_yada.entity.ProvinceCorrespondingEntity">
|
||||
<id column="id" property="id"/>
|
||||
<result column="country" property="country"/>
|
||||
<result column="province" property="province"/>
|
||||
<result column="province_en" property="provinceEn"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="provinceCorresponding" resultMap="Province_Corresponding">
|
||||
select id, country, province,province_en
|
||||
from province_corresponding
|
||||
where country = #{country}
|
||||
</select>
|
||||
|
||||
<select id="countryCorresponding" resultMap="Monitor_Country_Corresponding">
|
||||
select id, region, region_en, country, country_en
|
||||
@ -222,4 +318,82 @@
|
||||
and #{end} >= mea.year
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="eqiCountryGrading" resultMap="Monitor_EQI_Country_Grading">
|
||||
select id, year, type, country, country_en, excellent, good, middle, low, poor
|
||||
from monitor_eqi_country_grading
|
||||
where year = #{year}
|
||||
and country = #{country}
|
||||
and type = #{type}
|
||||
</select>
|
||||
|
||||
<select id="keqiCountry" resultMap="Monitor_KEQI_Country">
|
||||
select id,
|
||||
type,
|
||||
country,
|
||||
country_en,
|
||||
significant_decline,
|
||||
slight_decline,
|
||||
unchanged,
|
||||
slight_rise,
|
||||
significant_rise
|
||||
from monitor_keqi_country
|
||||
where type = #{type}
|
||||
and country = #{country}
|
||||
</select>
|
||||
|
||||
<select id="keqiCambodia" resultMap="Monitor_KEQI_Cambodia">
|
||||
select id,
|
||||
type,
|
||||
province,
|
||||
province_en,
|
||||
significant_decline,
|
||||
slight_decline,
|
||||
unchanged,
|
||||
slight_rise,
|
||||
significant_rise
|
||||
from monitor_keqi_cambodia
|
||||
where type = #{type}
|
||||
and province = #{province}
|
||||
</select>
|
||||
|
||||
<select id="eqiCambodiaGrading" resultMap="Monitor_EQI_Cambodia_Grading">
|
||||
select id, year, type, province, province_en, excellent, good, middle, low, poor
|
||||
from monitor_eqi_cambodia_grading
|
||||
where year = #{year}
|
||||
and type = #{type}
|
||||
and province = #{province}
|
||||
</select>
|
||||
|
||||
<select id="keqiProvinceRate" resultMap="Monitor_KEQI_Province_Rate">
|
||||
select mkpr.id,
|
||||
mkpr.country,
|
||||
mkpr.province,
|
||||
mkpr.province_en,
|
||||
mkpr.all,
|
||||
mkpr.forest,
|
||||
mkpr.shrub,
|
||||
mkpr.grass,
|
||||
mkpr.farmland,
|
||||
mkpr.mountain
|
||||
from monitor_keqi_province_rate mkpr
|
||||
where mkpr.country = #{country}
|
||||
</select>
|
||||
|
||||
<select id="eqiProvince" resultMap="Monitor_EQI_Province">
|
||||
select mep.id,
|
||||
mep.year,
|
||||
mep.country,
|
||||
mep.province,
|
||||
mep.province_en,
|
||||
mep.all,
|
||||
mep.forest,
|
||||
mep.shrub,
|
||||
mep.grass,
|
||||
mep.farmland,
|
||||
mep.mountain
|
||||
from monitor_eqi_province mep
|
||||
where mep.year = #{year}
|
||||
and mep.country = #{country}
|
||||
</select>
|
||||
</mapper>
|
Loading…
Reference in New Issue
Block a user