正在显示
1 个修改的文件
包含
6 行增加
和
6 行删除
| @@ -27,13 +27,13 @@ | @@ -27,13 +27,13 @@ | ||
| 27 | <select id="selectCountRouter" resultType="java.lang.Integer"> | 27 | <select id="selectCountRouter" resultType="java.lang.Integer"> |
| 28 | select count(*) from message_router | 28 | select count(*) from message_router |
| 29 | where 1=1 | 29 | where 1=1 |
| 30 | - <if test="sndr != null" > | 30 | + <if test="sndr != null and sndr!=''" > |
| 31 | and sndr = #{sndr,jdbcType=VARCHAR} | 31 | and sndr = #{sndr,jdbcType=VARCHAR} |
| 32 | </if> | 32 | </if> |
| 33 | - <if test="btype != null" > | 33 | + <if test="btype != null and btype!=''" > |
| 34 | and btype = #{btype,jdbcType=VARCHAR} | 34 | and btype = #{btype,jdbcType=VARCHAR} |
| 35 | </if> | 35 | </if> |
| 36 | - <if test="stype != null" > | 36 | + <if test="stype != null and stype!=''" > |
| 37 | and stype = #{stype,jdbcType=VARCHAR} | 37 | and stype = #{stype,jdbcType=VARCHAR} |
| 38 | </if> | 38 | </if> |
| 39 | </select> | 39 | </select> |
| @@ -47,13 +47,13 @@ | @@ -47,13 +47,13 @@ | ||
| 47 | select | 47 | select |
| 48 | <include refid="Base_Column_List" /> | 48 | <include refid="Base_Column_List" /> |
| 49 | from message_router where 1=1 | 49 | from message_router where 1=1 |
| 50 | - <if test="sndr != null" > | 50 | + <if test="sndr != null and sndr!=''" > |
| 51 | and sndr = #{sndr,jdbcType=VARCHAR} | 51 | and sndr = #{sndr,jdbcType=VARCHAR} |
| 52 | </if> | 52 | </if> |
| 53 | - <if test="btype != null" > | 53 | + <if test="btype != null and btype!=''" > |
| 54 | and btype = #{btype,jdbcType=VARCHAR} | 54 | and btype = #{btype,jdbcType=VARCHAR} |
| 55 | </if> | 55 | </if> |
| 56 | - <if test="stype != null" > | 56 | + <if test="stype != null and stype!=''" > |
| 57 | and stype = #{stype,jdbcType=VARCHAR} | 57 | and stype = #{stype,jdbcType=VARCHAR} |
| 58 | </if> | 58 | </if> |
| 59 | </select> | 59 | </select> |
-
请 注册 或 登录 后发表评论