Update DateOnly

This commit is contained in:
sunkaixuan 2023-12-27 12:03:13 +08:00
parent 21dabdb7cc
commit 81f8172a56

View File

@ -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);
}
}