Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example.builder() 缺少ORDERBY属性初始化 #897

Closed
soaped opened this issue Nov 15, 2023 · 3 comments
Closed

Example.builder() 缺少ORDERBY属性初始化 #897

soaped opened this issue Nov 15, 2023 · 3 comments

Comments

@soaped
Copy link

soaped commented Nov 15, 2023

public Example(Class<?> entityClass, boolean exists, boolean notNull) {
        this.exists = exists;
        this.notNull = notNull;
        this.oredCriteria = new ArrayList();
        this.entityClass = entityClass;
        this.table = EntityHelper.getEntityTable(entityClass);
        this.propertyMap = this.table.getPropertyMap();
        this.ORDERBY = new OrderBy(this, this.propertyMap);
    }

 public Builder(Class<?> entityClass, boolean exists, boolean notNull) {
            this.entityClass = entityClass;
            this.exists = exists;
            this.notNull = notNull;
            this.orderByClause = new StringBuilder();
            this.table = EntityHelper.getEntityTable(entityClass);
            this.propertyMap = this.table.getPropertyMap();
            this.sqlsCriteria = new ArrayList(2);
        }
@abel533
Copy link
Owner

abel533 commented Nov 15, 2023

来个PR?

@soaped
Copy link
Author

soaped commented Nov 15, 2023

ok

@soaped
Copy link
Author

soaped commented Nov 17, 2023

在最新4.3.0版已解决了

@soaped soaped closed this as completed Nov 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants