修改参数

This commit is contained in:
songjinsheng
2022-07-08 14:46:17 +08:00
parent 7943dd8156
commit 2a64885193
10 changed files with 18 additions and 20 deletions

View File

@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectRegion" resultMap="RM_RegionVGI">
SELECT <include refid="columns"/> FROM region_vgi
where particular_year='2020.0'
-- where particular_year='2020'
<!-- WHERE 1=1-->
<!-- <if test="particularYear!= null and particularYear !=''">-->

View File

@ -25,10 +25,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectVegetation" resultMap="RM_Vegetation">
SELECT <include refid="columns"/> FROM fvc_npp
<!-- WHERE 1=1-->
<!-- <if test="particularYear!= null and particularYear !=''">-->
<!-- AND particular_year = #{particularYear}-->
<!-- </if>-->
WHERE 1=1
<if test="type!= null and type !=''">
AND type = #{type}
</if>
<!-- <if test="region != null and region !=''">-->
<!-- AND region = #{region}-->
<!-- </if>-->