-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
目前的Freesql扩展使用搜索时会报sql错误。
检查发现在ToDynamicFilter方法中仅判断了if (actions.Filters != null)
而SearchFilterAction中GetFilterConditions并没有给Filters 赋值
就会导致产生一个key和value都为null的条件,freesql转为sql时就会产生一个(())的条件,sql异常
Expected Behavior
这时候SearchFilterAction中由于没有加Filter,所以actions.Filters是null

这时候item里内容都为null,所以会产生一个(())的条件

Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
No response
Anything else?
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working

