mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-23 12:39:35 +08:00
添加别名
This commit is contained in:
parent
0e6e64a638
commit
60ae91e488
@ -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}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user