Skip to content

Commit

Permalink
更新至0.3.2(修复了Top玩家(#框)排行榜更新出错的问题)
Browse files Browse the repository at this point in the history
  • Loading branch information
Misaka12456 committed Apr 11, 2022
1 parent e6b9dc6 commit 9b0ea00
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>MarveCube.Standalone</AssemblyName>
<Version>0.3.1</Version>
<Version>0.3.2</Version>
<Company>123 Open-Source Organization</Company>
<Product>Arcaea Server 2(123 Marvelous Cube) Standalone Version</Product>
<AssemblyVersion>0.3.1</AssemblyVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public static bool UpdateTotalScoreRank(this PlayerInfo info)
conn.Open();
var cmd = conn.CreateCommand();
cmd.CommandText = $"UPDATE users SET totalScore = (IFNULL((SELECT SUM(score) FROM bests WHERE (difficulty = 2 OR difficulty = 3) AND user_id = ?uid),0)) WHERE user_id=?uid;";
cmd.Parameters.Add(new MySqlParameter("?user_id", MySqlDbType.Int32)
cmd.Parameters.Add(new MySqlParameter("?uid", MySqlDbType.Int32)
{
Value = info.UserId!.Value
});
Expand Down
6 changes: 3 additions & 3 deletions Team123it.Arcaea.MarveCube/Team123it.Arcaea.MarveCube.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<AssemblyName>MarveCube</AssemblyName>
<Version>0.3.1</Version>
<Version>0.3.2</Version>
<Company>123 Open-Source Organization</Company>
<Product>Arcaea Server 2(123 Marvelous Cube Open-Source Version)</Product>
<AssemblyVersion>0.3.1</AssemblyVersion>
<FileVersion>0.3.1</FileVersion>
<AssemblyVersion>0.3.2</AssemblyVersion>
<FileVersion>0.3.2</FileVersion>
<Copyright>(C)Copyright 2015-2022 123 Open-Source Organization. All rights reserved.</Copyright>
<AssemblyTitle>Arcaea Server 2 - High-Speed Protable Arcaea API Server</AssemblyTitle>
<Platforms>x64;ARM64</Platforms>
Expand Down

0 comments on commit 9b0ea00

Please sign in to comment.