IDataBase Last

IDataBase Last
This commit is contained in:
ALEXTANG
2023-07-16 19:06:45 +08:00
parent bd10297dfa
commit 4abe10eecf
3 changed files with 14 additions and 1 deletions

View File

@@ -39,7 +39,7 @@ namespace TEngine.Logic
public async FTask<uint> GeneratorUID(IDateBase db)
{
var ret = await db.First<AccountInfo>(t=>t.UID != 0);
var ret = await db.Last<AccountInfo>(t=>t.UID != 0);
if (ret == null)
{
return 100000;