mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update exp to sql (DateOnly.Year)
This commit is contained in:
@@ -580,6 +580,10 @@ namespace SqlSugar
|
||||
{
|
||||
parameter.CommonTempData= base.AppendParameter(parameter.CommonTempData);
|
||||
}
|
||||
else if (parameter.CommonTempData != null && parameter.CommonTempData?.GetType()?.FullName=="System.DateOnly")
|
||||
{
|
||||
parameter.CommonTempData = base.AppendParameter(parameter.CommonTempData);
|
||||
}
|
||||
var result = this.Context.DbMehtods.DateValue(new MethodCallExpressionModel()
|
||||
{
|
||||
Args = new List<MethodCallExpressionArgs>() {
|
||||
|
Reference in New Issue
Block a user