mirror of
https://github.com/norohind/SquadsActivityMonitor.git
synced 2025-06-17 23:51:50 +03:00
Fix if null value for lb type and platform in model
This commit is contained in:
parent
8107895c52
commit
d37b836975
@ -60,8 +60,8 @@ select_diff_by_action_id = """select
|
|||||||
coalesce(new_stats.score, 0) as "TotalExperience",
|
coalesce(new_stats.score, 0) as "TotalExperience",
|
||||||
coalesce(old_stats.score, 0) as "TotalExperienceOld",
|
coalesce(old_stats.score, 0) as "TotalExperienceOld",
|
||||||
coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) as "TotalExperienceDiff",
|
coalesce(new_stats.score, 0) - coalesce(old_stats.score, 0) as "TotalExperienceDiff",
|
||||||
old_stats.leaderboard_type as "LeaderBoardType",
|
coalesce(new_stats.leaderboard_type, old_stats.leaderboard_type) as "LeaderBoardType",
|
||||||
old_stats.platform as "Platform"
|
coalesce(new_stats.platform, old_stats.platform) as "Platform"
|
||||||
from (
|
from (
|
||||||
select *
|
select *
|
||||||
from squads_stats_states
|
from squads_stats_states
|
||||||
|
Loading…
x
Reference in New Issue
Block a user