Commit e71cde67 authored by daniel's avatar daniel

fix(cmpt): 显示所有的赛事列表,不限制赛事是否上架

parent 19c93c73
...@@ -194,11 +194,11 @@ ...@@ -194,11 +194,11 @@
and now() >= c.startTime and c.endTime >= now() and now() >= c.startTime and c.endTime >= now()
</if> </if>
<if test="param.userId > 0"> <if test="param.userId > 0">
and c.createUserId=#{param.userId} and a.cmpt_status = 2 and c.createUserId=#{param.userId}
and a.cmpt_status = 2
</if> </if>
<if test="param.userId lt 0"> <if test="param.userId lt 0">
AND c.createUserId NOT IN (SELECT user_id from gksite.gk_app_info WHERE user_id>0) AND c.createUserId NOT IN (SELECT user_id from gksite.gk_app_info WHERE user_id>0)
and a.cmpt_status = 2
</if> </if>
<if test="param.partnerId == 'PRODF4E96E99A2B48AEA' "> <if test="param.partnerId == 'PRODF4E96E99A2B48AEA' ">
AND '2022-12-12 22:20:00' > a.create_date AND '2022-12-12 22:20:00' > a.create_date
......
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