Update TDengine

This commit is contained in:
sunkaixuan
2025-02-26 20:04:57 +08:00
parent 86891dc07a
commit 62b67ea93a
3 changed files with 36 additions and 2 deletions

View File

@@ -19,7 +19,12 @@ namespace SqlSugar.TDengine
{
public static STableAttribute GetCommonSTableAttribute(ISqlSugarClient db,STableAttribute sTableAttribute)
{
return sTableAttribute;
var key = "GetCommonSTableAttribute_" + sTableAttribute?.STableName;
if (db.TempItems?.ContainsKey(key) == true)
{
sTableAttribute.STableName = db.TempItems[key] +"";
}
return sTableAttribute!;
}
public static long ToUnixTimestamp(DateTime dateTime)
{