|
@@ -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)
|