|
@@ -668,6 +668,18 @@
|
|
</if>
|
|
</if>
|
|
and cr.releaseTime >#{startTime} and cr.releaseTime<#{endTime}
|
|
and cr.releaseTime >#{startTime} and cr.releaseTime<#{endTime}
|
|
</select>
|
|
</select>
|
|
|
|
+ <select id="getPublishedVideoListNoRanking" resultType="com.caimei.model.vo.ChallengeRoundVo">
|
|
|
|
+ select cr.id,cr.userName,cr.itemId,cr.title,cr.ossName,cr.ossUrl,cr.cover,cr.releaseTime,cr.status,cr.shareId,cr.authId,cba.authParty,cr.dyCommand
|
|
|
|
+ from cm_challenge_round cr
|
|
|
|
+ left join cm_brand_auth cba on cr.authId=cba.id
|
|
|
|
+ left join cm_challenge_activity cca on cca.authUserId=cr.authUserId
|
|
|
|
+ where cr.authUserId=#{authUserId}
|
|
|
|
+ <if test="clubUserName != null and clubUserName != ''">
|
|
|
|
+ and (cr.userName like concat('%', #{clubUserName})
|
|
|
|
+ or cba.authParty like concat('%', #{clubUserName},'%') )
|
|
|
|
+ </if>
|
|
|
|
+ and (cr.releaseTime <#{startTime} or cr.releaseTime >#{endTime})
|
|
|
|
+ </select>
|
|
<select id="getPublishedVideo" resultType="com.caimei.model.vo.ChallengeRoundVo">
|
|
<select id="getPublishedVideo" resultType="com.caimei.model.vo.ChallengeRoundVo">
|
|
select cr.id,cr.userName,cr.itemId,cr.title,cr.ossName,cr.ossUrl,cr.cover,cr.releaseTime,cr.status,cr.shareId,cr.authId,cba.authParty,cr.dyCommand
|
|
select cr.id,cr.userName,cr.itemId,cr.title,cr.ossName,cr.ossUrl,cr.cover,cr.releaseTime,cr.status,cr.shareId,cr.authId,cba.authParty,cr.dyCommand
|
|
from cm_challenge_round cr
|
|
from cm_challenge_round cr
|
|
@@ -685,6 +697,23 @@
|
|
and cr.status = #{status}
|
|
and cr.status = #{status}
|
|
</if>
|
|
</if>
|
|
</select>
|
|
</select>
|
|
|
|
+ <select id="getPublishedVideoNoRanking" resultType="com.caimei.model.vo.ChallengeRoundVo">
|
|
|
|
+ select cr.id,cr.userName,cr.itemId,cr.title,cr.ossName,cr.ossUrl,cr.cover,cr.releaseTime,cr.status,cr.shareId,cr.authId,cba.authParty,cr.dyCommand
|
|
|
|
+ from cm_challenge_round cr
|
|
|
|
+ left join cm_brand_auth cba on cr.authId=cba.id
|
|
|
|
+ left join cm_challenge_activity cca on cca.authUserId=cr.authUserId
|
|
|
|
+ where cr.authUserId=#{authUserId}
|
|
|
|
+ and (cr.releaseTime <#{startTime} or cr.releaseTime >#{endTime})
|
|
|
|
+ <if test="mobile != null and mobile != ''">
|
|
|
|
+ and cr.userName like concat('%', #{mobile})
|
|
|
|
+ </if>
|
|
|
|
+ <if test="authParty != null and authParty != ''">
|
|
|
|
+ and cba.authParty like concat('%', #{authParty},'%')
|
|
|
|
+ </if>
|
|
|
|
+ <if test="status != null">
|
|
|
|
+ and cr.status = #{status}
|
|
|
|
+ </if>
|
|
|
|
+ </select>
|
|
<select id="checkActivityId" resultType="com.caimei.model.vo.ChallengeActivityVo">
|
|
<select id="checkActivityId" resultType="com.caimei.model.vo.ChallengeActivityVo">
|
|
select id,authUserId
|
|
select id,authUserId
|
|
from cm_challenge_activity
|
|
from cm_challenge_activity
|