Skip to content

逻辑列功能-where条件能否调整 #122

@Nottoocold

Description

@Nottoocold

目前的LogicalProvider中添加的默认条件是columnNotEqualsValueCondition,如del_flag!=1,但实际应用中,表里的大部分数据都是未删除的,使用这样的条件应该会影响索引的使用,要是能改成类似于del_flag=未删除的值就好了。

目前我是根据提供的@SqlWrapper功能在原来的SqlScript的基础上替换了sql片段(del_flag!=1)。

希望mapper能原生支持。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions