各国、各省省平均EQI分布折线图

This commit is contained in:
2023-03-15 17:57:54 +08:00
parent 9158979599
commit f2bf70cf2a
6 changed files with 284 additions and 99 deletions

View File

@ -192,7 +192,7 @@
</resultMap>
<select id="provinceCorresponding" resultMap="Province_Corresponding">
select id, country, province,province_en
select id, country, province, province_en
from province_corresponding
where country = #{country}
</select>
@ -396,4 +396,40 @@
where mep.year = #{year}
and mep.country = #{country}
</select>
<select id="eqiCountryLine" resultMap="Monitor_EQI_Country">
select mec.id,
mec.year,
mec.country,
mec.country_en,
mec.all_eqi,
mec.forest_eqi,
mec.shrub_eqi,
mec.grass_eqi,
mec.farmland_eqi,
mec.mountain_eqi,
mec.all_pixel,
mec.forest_pixel,
mec.shrub_pixel,
mec.grass_pixel,
mec.farmland_pixel,
mec.mountain_pixel
from monitor_eqi_country mec
where mec.country = #{country}
</select>
<select id="eqiProvinceLine" resultMap="Monitor_EQI_Province">
select mep.id,
mep.year,
mep.province,
mep.province_en,
mep.all,
mep.forest,
mep.shrub,
mep.grass,
mep.farmland,
mep.mountain
from monitor_eqi_province mep
where mep.province = #{province}
</select>
</mapper>