Explorar el Código

素材已关联账户列表sql优化

zhaoxian hace 4 años
padre
commit
7121811c3d

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

@@ -187,7 +187,7 @@
     <select id="getAccountVideos" resultType="com.alibaba.fastjson.JSONObject">
         SELECT t2.auth_name 'authName',
                t0.account_id 'accountId',
-               t1.stat_date 'statDate',
+               t0.stat_date 'statDate',
                t3.rejectCount,
                (SELECT COUNT(0) FROM ctop_kuaishou_creative WHERE account_id = t1.account_id) 'creativeCount',
                IFNULL(SUM(t1.charge), 0) 'charge',