mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-31 15:56:25 +08:00
Update exp to sql
This commit is contained in:
parent
92e84191d1
commit
6a0dc85930
@ -141,7 +141,7 @@ namespace SqlSugar
|
||||
}
|
||||
this.Context.Parameters.Add(p);
|
||||
}
|
||||
else if (parameter?.BaseParameter?.CommonTempData.ObjToString() == "IsJon=true")
|
||||
else if (parameter?.BaseParameter?.CommonTempData.ObjToString() == "IsJson=true")
|
||||
{
|
||||
this.Context.Parameters.Add(new SugarParameter(appendValue, new SerializeService().SerializeObject(value)) { IsJson=true});
|
||||
}
|
||||
|
@ -46,8 +46,9 @@ namespace SqlSugar
|
||||
}
|
||||
else if (IsUpdateJson(parameter,expression, operatorValue))
|
||||
{
|
||||
parameter.CommonTempData = "IsJon=true";
|
||||
parameter.CommonTempData = "IsJson=true";
|
||||
DefaultBinary(parameter, expression, operatorValue);
|
||||
parameter.CommonTempData = null;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user