mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update StorageableByObject DateOnly
This commit is contained in:
parent
1191385c63
commit
75c3353db7
@ -109,6 +109,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return string.Join("|",thisValue as byte[]);
|
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();
|
if (thisValue != null) return thisValue.ToString().Trim();
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user