报告修改
This commit is contained in:
@ -34,6 +34,18 @@
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
<select id="sqlSeeding1" resultMap="RM_Seeding">
|
||||
SELECT <include refid="columns"/> FROM suitability
|
||||
WHERE 1=1
|
||||
<if test="zone!= null and zone !=''">
|
||||
AND zone = #{zone}
|
||||
</if>
|
||||
<if test="year!= null and year !=''">
|
||||
AND year1 = #{year}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="sqlYear" resultMap="RM_Seeding">
|
||||
SELECT distinct year1,ZONE FROM suitability
|
||||
</select>
|
||||
|
Reference in New Issue
Block a user