|
@@ -99,7 +99,7 @@
|
|
|
ctop_etl_kuaishou_account_material_report_daily
|
|
|
WHERE
|
|
|
1=1
|
|
|
- <if test="projects !=null">
|
|
|
+ <if test="projects !=null and projects.size() > 0">
|
|
|
AND project_id IN
|
|
|
<foreach collection="projects" item="item" separator=","
|
|
|
open="(" close=")">
|
|
@@ -227,7 +227,8 @@
|
|
|
<select id="queryBytedanceTopMaterial" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
SELECT
|
|
|
t1.*,
|
|
|
- IFNULL((SELECT GROUP_CONCAT(tag_name) from ctop_material_tag_info where code=signature and status=1),"塑造") as tag
|
|
|
+ IFNULL((SELECT GROUP_CONCAT(tag_name) from ctop_material_tag_info where code=signature and status=1),"塑造") as
|
|
|
+ tag
|
|
|
FROM
|
|
|
(SELECT md5 signature,
|
|
|
IFNULL(toutiao_url, '') AS url,
|