mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-16 04:59:34 +08:00
Update exp to sql (DateOnly.Year)
This commit is contained in:
parent
4daf1b7422
commit
8ce4ab4f80
@ -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>() {
|
||||
|
Loading…
Reference in New Issue
Block a user