修改月份字段
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user