zhaoxian 3 lat temu
rodzic
commit
46b84479b6

+ 1 - 1
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/ai/mapper/xml/KuaishouProjectStrategyMapper.xml

@@ -5,7 +5,7 @@
     <select id="queryProjectList" resultType="com.alibaba.fastjson.JSONObject">
         SELECT t1.*,
                (SELECT COUNT(1) FROM ctop_user_allocation WHERE account_status = 0 and t1.projectId = project_id) as 'allAccountCount',
-               (SELECT COUNT(1) FROM ctop_user_allocation WHERE account_status = 0 and t1.projectId = project_id and project_strategy = 1) as 'successCount',
+               (SELECT COUNT(1) FROM ctop_user_allocation WHERE account_status = 0 and t1.projectId = project_id and auto_delivery = 1) as 'successCount',
                IFNULL(SUM(t2.charge),0) as 'charge',
                IFNULL(SUM(t2.photo_show),0) as 'photoShow',
                IFNULL(SUM(t2.photo_click),0) as 'photoClick',