Search in sources :

Example 1 with DataListBuilder

use of com.rebuild.core.support.general.DataListBuilder in project rebuild by getrebuild.

the class GeneralListController method dataList.

@PostMapping("data-list")
public JSON dataList(@PathVariable String entity, HttpServletRequest request) {
    JSONObject query = (JSONObject) ServletUtils.getRequestJson(request);
    DataListBuilder builder = new DataListBuilderImpl(query, getRequestUser(request));
    return builder.getJSONResult();
}
Also used : JSONObject(com.alibaba.fastjson.JSONObject) DataListBuilder(com.rebuild.core.support.general.DataListBuilder) DataListBuilderImpl(com.rebuild.core.support.general.DataListBuilderImpl)

Aggregations

JSONObject (com.alibaba.fastjson.JSONObject)1 DataListBuilder (com.rebuild.core.support.general.DataListBuilder)1 DataListBuilderImpl (com.rebuild.core.support.general.DataListBuilderImpl)1