作者 朱兆平

修复路由配置搜索时,携带空字符搜索不出全部列表的BUG

... ... @@ -27,13 +27,13 @@
<select id="selectCountRouter" resultType="java.lang.Integer">
select count(*) from message_router
where 1=1
<if test="sndr != null" >
<if test="sndr != null and sndr!=''" >
and sndr = #{sndr,jdbcType=VARCHAR}
</if>
<if test="btype != null" >
<if test="btype != null and btype!=''" >
and btype = #{btype,jdbcType=VARCHAR}
</if>
<if test="stype != null" >
<if test="stype != null and stype!=''" >
and stype = #{stype,jdbcType=VARCHAR}
</if>
</select>
... ... @@ -47,13 +47,13 @@
select
<include refid="Base_Column_List" />
from message_router where 1=1
<if test="sndr != null" >
<if test="sndr != null and sndr!=''" >
and sndr = #{sndr,jdbcType=VARCHAR}
</if>
<if test="btype != null" >
<if test="btype != null and btype!=''" >
and btype = #{btype,jdbcType=VARCHAR}
</if>
<if test="stype != null" >
<if test="stype != null and stype!=''" >
and stype = #{stype,jdbcType=VARCHAR}
</if>
</select>
... ...