Commit e5f4cfdf by rongkailun

【修改】levels筛选条件修改

parent d0ff409b
......@@ -31,7 +31,7 @@
WHERE
1=1
<choose>
<when test="newsParams.levels !=null and newsParams.levels !=''">
<when test="newsParams.levels !=null">
AND levels = #{newsParams.levels}
</when>
<otherwise>
......
......@@ -28,7 +28,7 @@
<select id="selectPartnersList" resultMap="partnersMap">
select * from Partners where 1=1
<choose>
<when test="newsParams.levels !=null and newsParams.levels !=''">
<when test="newsParams.levels !=null">
AND levels = #{newsParams.levels}
</when>
<otherwise>
......
......@@ -45,7 +45,7 @@
and editor =#{newsParams.editor}
</if>
<choose>
<when test="newsParams.levels !=null and newsParams.levels !=''">
<when test="newsParams.levels !=null">
AND levels = #{newsParams.levels}
</when>
<otherwise>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment