Skip to content

APIJSONSQLConfig的newSQLConfig方法有BUG #2

@zc0707

Description

@zc0707

public static SQLConfig<T, JSONObject, JSONArray> newSQLConfig(
RequestMethod method, String table, String alias, JSONObject request, List<Join<T
, JSONObject, JSONArray>> joinList, boolean isProcedure) throws Exception {
return newSQLConfig(method, table, alias, request, joinList, isProcedure, new SimpleCallback() {});
}

导致重写SimpleCallback不生效,应该修改为
public static SQLConfig<T, JSONObject, JSONArray> newSQLConfig(
RequestMethod method, String table, String alias, JSONObject request, List<Join<T
, JSONObject, JSONArray>> joinList, boolean isProcedure) throws Exception {
return newSQLConfig(method, table, alias, request, joinList, isProcedure, (SimpleCallback) SIMPLE_CALLBACK);
}

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