|
@@ -12,12 +12,15 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="queryActiveAccount" resultType="java.lang.Long">
|
|
|
- select account_id from ctop_ai_kuaishou_advertiser_strategy where campaign_name like '%上下滑&信息流%' and status = 1 GROUP BY account_id
|
|
|
- </select>
|
|
|
-
|
|
|
-
|
|
|
- <!-- SELECT account_id FROM ctop_ai_kuaishou_advertiser_strategy
|
|
|
+ SELECT account_id FROM ctop_ai_kuaishou_advertiser_strategy
|
|
|
WHERE timer_task_status = 1
|
|
|
- GROUP BY account_id-->
|
|
|
+ GROUP BY account_id
|
|
|
+ </select>
|
|
|
|
|
|
+ <select id="queryShouTaoAccounts" resultType="java.lang.Long">
|
|
|
+ select t1.account_id from ctop_ai_kuaishou_advertiser_strategy t1
|
|
|
+ LEFT JOIN ctop_user_allocation t2 ON t1.account_id = t2.account_id
|
|
|
+ where t2.project_id = 458
|
|
|
+ AND t1.status = 1
|
|
|
+ </select>
|
|
|
</mapper>
|