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);
}
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);
}