From 60ae91e48859ce8d34cced7ee48ee645bc5246ea Mon Sep 17 00:00:00 2001 From: milimoe Date: Fri, 25 Oct 2024 01:13:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Library/SQLScript/Common/Common.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/SQLScript/Common/Common.cs b/Library/SQLScript/Common/Common.cs index ddd1554..1c13d51 100644 --- a/Library/SQLScript/Common/Common.cs +++ b/Library/SQLScript/Common/Common.cs @@ -35,6 +35,7 @@ namespace Milimoe.FunGame.Core.Library.SQLScript.Common public const string Column_ServerName = "ServerName"; public const string Column_ServerKey = "ServerKey"; public const string Column_LoginTime = "LoginTime"; + public const string Column_LastTime = "LastTime"; public static string Insert_ServerLoginLogs(string ServerName, string ServerKey) { @@ -43,7 +44,7 @@ namespace Milimoe.FunGame.Core.Library.SQLScript.Common public static string Select_GetLastLoginTime() { - return $"{Command_Select} Max({Column_LoginTime}) {Command_From} {TableName}"; + return $"{Command_Select} Max({Column_LoginTime}) {Column_LastTime} {Command_From} {TableName}"; } } }