@@ -22,6 +22,9 @@
<select id="selectTGdbhGdServerList" parameterType="TGdbhGdServerDTO" resultMap="TGdbhGdServerDTOResult">
select t1.*,t2.url serverurl,t2.fwmc serverfwmc,t2.fwgzkj serverfwgzkj from (
<include refid="selectTGdbhGdServerVo"/>
+ <if test="year!=null and year!=''">
+ where year = #{year}
+ </if>
order by year desc)t1
left join t_yzt_zyml t2 on t2.bsm = t1.serverid
</select>
<select id="selectTGdbhYjjbntServerList" parameterType="TGdbhYjjbntServerDTO" resultMap="TGdbhYjjbntServerDTOResult">
<include refid="selectTGdbhYjjbntServerVo"/>