mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-19 07:44:45 +08:00
Update exp to sql
This commit is contained in:
parent
38a6bdc78f
commit
cadf908ef9
@ -35,8 +35,12 @@ namespace SqlSugar
|
|||||||
// 如果选择的分支还是一个条件表达式,就继续展开
|
// 如果选择的分支还是一个条件表达式,就继续展开
|
||||||
if (ExpressionTool.RemoveConvert(next) is ConditionalExpression childConditional)
|
if (ExpressionTool.RemoveConvert(next) is ConditionalExpression childConditional)
|
||||||
{
|
{
|
||||||
args[0] = express.Test;
|
|
||||||
express = childConditional;
|
express = childConditional;
|
||||||
|
args = new List<Expression>() {
|
||||||
|
express.Test,
|
||||||
|
express.IfTrue,
|
||||||
|
express.IfFalse
|
||||||
|
};
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user