Commit 30a24a3a by rongkailun

【修改】levels筛选

parent 6623e71c
......@@ -54,7 +54,7 @@
and starttime_index BETWEEN #{indexCarouselManage.startTime} AND #{indexCarouselManage.endTime}
</if>
<choose>
<when test="indexCarouselManage.levels !=null and indexCarouselManage.levels !=''">
<when test="indexCarouselManage.levels !=null">
AND t.levels = #{indexCarouselManage.levels}
</when>
<otherwise>
......
......@@ -95,7 +95,7 @@
a.classid in(429,430,428,435)
)
<choose>
<when test="newsParams.levels == 0">
<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