修改月份字段

This commit is contained in:
2022-11-07 16:43:51 +08:00
parent 3fd09cc44a
commit 25897b41d8
5 changed files with 32 additions and 10 deletions

View File

@ -47,6 +47,7 @@
<result property="id" column="id"/>
<result property="year" column="year"/>
<result property="month" column="month"/>
<result property="monthEn" column="month_en"/>
<result property="region" column="region"/>
<result property="regionEn" column="region_en"/>
<result property="value" column="value"/>
@ -83,8 +84,9 @@
</select>
<select id="monthAverage" resultMap="month_average">
select id, year,month,region, region_en, value
select id, year, month, month_en, region, region_en, value
from pm_month_average_concentration
where year = #{year} and region = #{region}
where year = #{year}
and region = #{region}
</select>
</mapper>