Browse Source

Update exp to sql

pull/12/head
sunkaixuna 3 years ago
parent
commit
71ef2a95e7
  1. 4
      Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs

4
Src/Asp.Net/SqlSugar/ExpressionsToSql/ResolveItems/MemberExpressionResolve.cs

@ -366,6 +366,10 @@ namespace SqlSugar
else
{
this.Start();
if(parameter.CommonTempData!=null&& parameter.CommonTempData is DateTime)
{
parameter.CommonTempData= base.AppendParameter(parameter.CommonTempData);
}
var result = this.Context.DbMehtods.DateValue(new MethodCallExpressionModel()
{
Args = new List<MethodCallExpressionArgs>() {

Loading…
Cancel
Save