From 3f50754fc6d1899a51f81a0b15c7cef65dfcb3d5 Mon Sep 17 00:00:00 2001 From: wuaho Date: Fri, 30 Jul 2021 14:51:31 +0800 Subject: [PATCH] ltv --- models/x_analysis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/x_analysis.py b/models/x_analysis.py index 145fb92..a094b65 100644 --- a/models/x_analysis.py +++ b/models/x_analysis.py @@ -118,7 +118,7 @@ class XAnalysis: FROM {self.game}.event where `#event_name` = 'create_account' and {where_str}) as a - left join (select `#account_id`, money, toDate(addHours(`#event_time`, `#zone_offset`)) as date + left join (select `#account_id`, unitPrice/100 as money, toDate(addHours(`#event_time`, `#zone_offset`)) as date from {self.game}.event where `#event_name` = 'pay') b on a.`#account_id` = b.`#account_id`