Commit c7bf5538 by wangxin

小E数字提示问题

parent 4a8f972e
...@@ -134,6 +134,9 @@ ...@@ -134,6 +134,9 @@
(<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>)) (<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>))
</if> </if>
) )
<if test="bizType != null">
and tb.biz_type=#{bizType}
</if>
-- 已完成条件过滤 -- 已完成条件过滤
and <![CDATA[ tb.end_time > #{now} ]]> and answer.id is not null and answer.finish = 1 and <![CDATA[ tb.end_time > #{now} ]]> and answer.id is not null and answer.finish = 1
)t )t
...@@ -170,6 +173,9 @@ ...@@ -170,6 +173,9 @@
(<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>)) (<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>))
</if> </if>
) )
<if test="bizType != null">
and tb.biz_type=#{bizType}
</if>
-- 进行中条件过滤 -- 进行中条件过滤
and <![CDATA[ tb.end_time > #{now} ]]>and <![CDATA[ tb.start_time < #{now} ]]> and ( answer.id is null or and <![CDATA[ tb.end_time > #{now} ]]>and <![CDATA[ tb.start_time < #{now} ]]> and ( answer.id is null or
answer.finish = 0) answer.finish = 0)
...@@ -379,6 +385,9 @@ ...@@ -379,6 +385,9 @@
(<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>)) (<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>))
</if> </if>
) )
<if test="bizType != null">
and tb.biz_type=#{bizType}
</if>
-- 已完成条件过滤 -- 已完成条件过滤
and <![CDATA[ tb.end_time > #{now} ]]> and answer.id is not null and answer.finish = 1 and <![CDATA[ tb.end_time > #{now} ]]> and answer.id is not null and answer.finish = 1
)t )t
...@@ -415,6 +424,9 @@ ...@@ -415,6 +424,9 @@
(<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>)) (<foreach collection="idsInRange" separator="," item="id">#{id}</foreach>))
</if> </if>
) )
<if test="bizType != null">
and tb.biz_type=#{bizType}
</if>
-- 进行中条件过滤 -- 进行中条件过滤
and <![CDATA[ tb.end_time > #{now} ]]>and <![CDATA[ tb.start_time < #{now} ]]> and ( answer.id is null or and <![CDATA[ tb.end_time > #{now} ]]>and <![CDATA[ tb.start_time < #{now} ]]> and ( answer.id is null or
answer.finish = 0) answer.finish = 0)
......
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