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