mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Update exp to sql (Any)
This commit is contained in:
parent
ca7ea939cb
commit
10905e4494
@ -48,7 +48,14 @@ namespace SqlSugar
|
|||||||
private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName)
|
private void ResloveBoolMethod(ExpressionParameter parameter, Expression item, string asName)
|
||||||
{
|
{
|
||||||
this.Expression = item;
|
this.Expression = item;
|
||||||
|
if (ExpressionTool.GetMethodName(item) == "Any")
|
||||||
|
{
|
||||||
|
parameter.CommonTempData = GetNewExpressionValue(item);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
this.Start();
|
this.Start();
|
||||||
|
}
|
||||||
var sql = this.Context.DbMehtods.IIF(new MethodCallExpressionModel()
|
var sql = this.Context.DbMehtods.IIF(new MethodCallExpressionModel()
|
||||||
{
|
{
|
||||||
Args = new List<MethodCallExpressionArgs>() {
|
Args = new List<MethodCallExpressionArgs>() {
|
||||||
|
Loading…
Reference in New Issue
Block a user