mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Update DateOnly
This commit is contained in:
parent
21dabdb7cc
commit
81f8172a56
@ -539,6 +539,10 @@ namespace SqlSugar
|
||||
{
|
||||
addValue = Convert.ToInt64(addValue);
|
||||
}
|
||||
else if (item.PropertyType.FullName == "System.DateOnly")
|
||||
{
|
||||
addValue = Convert.ToDateTime(addValue).ToString("yyyy-MM-dd");
|
||||
}
|
||||
result.Add(name, addValue);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user