mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update DateOnly
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user