Ver Fonte

"repair"

renyupeng há 3 anos atrás
pai
commit
6ebc3cfa89

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth3.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth4.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth5.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth6.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)

+ 1 - 1
Apietl/test/AppKuaishouVideoReportBusiMonth7.py

@@ -340,7 +340,7 @@ LEFT JOIN `jeecg-boot`.sys_user shot ON shot.id = cma.shot_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user plan ON plan.id = cma.plan_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.sys_user leader ON leader.id = cma.leader_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
 LEFT JOIN `jeecg-boot`.user_company up ON up.user_id = cma.clip_id
-where cua.account_id={account_id};
+where report.account_id={account_id};
 """.format(day_count=self.day_count, account_id=account_id[0])
 """.format(day_count=self.day_count, account_id=account_id[0])
                     print(sql)
                     print(sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)
                     TidbConn.upsert(conn=self.conn, sql_buff=sql)