Skip to content

Commit e0790eb

Browse files
authored
Merge pull request #32 from topcoder-platform/develop
PROD - Fix for PM-3108
2 parents f24738e + 803ede8 commit e0790eb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sql/reports/topgear/payments.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ SELECT
66
p.total_amount,
77
p.payment_status,
88
p.billing_account,
9-
p.created_at
9+
p.created_at,
10+
w.winner_id as user_id
1011
FROM finance.payment p
1112
INNER JOIN finance.winnings w on p.winnings_id = w.winning_id
1213
WHERE p.created_at >= $1::timestamptz
1314
AND p.created_at <= $2::timestamptz
14-
ORDER BY p.created_at DESC;
15+
AND p.billing_account = '80000062'
16+
ORDER BY p.created_at DESC;

0 commit comments

Comments
 (0)