Update StorageableByObject DateOnly

This commit is contained in:
sunkaixuan 2025-01-04 13:18:53 +08:00
parent 1191385c63
commit 75c3353db7

View File

@ -109,6 +109,10 @@ namespace SqlSugar
{
return string.Join("|",thisValue as byte[]);
}
if (thisValue!=null&&thisValue?.GetType()?.Name == "DateOnly")
{
return Convert.ToDateTime(thisValue.ToString()).ToString("yyyy-MM-dd");
}
if (thisValue != null) return thisValue.ToString().Trim();
return "";
}