Commit 30a24a3a by rongkailun

【修改】levels筛选

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