Optimize code

This commit is contained in:
sunkaixuan
2024-09-19 10:57:27 +08:00
parent c0793a66e2
commit 606b791918

View File

@@ -97,7 +97,7 @@ namespace SqlSugar
} }
return result; return result;
} }
private dynamic GetKey() private string GetKey()
{ {
if (!string.IsNullOrEmpty(this.initkey) &&this.initThreadMainId == GetCurrentThreadId()) if (!string.IsNullOrEmpty(this.initkey) &&this.initThreadMainId == GetCurrentThreadId())
{ {