如何从动态的实体类返回datagrid
@RequestMapping(params = "datagrid")public void datagrid(HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) {
CriteriaQuery cq = new CriteriaQuery(JeecgOrderMainEntity.class, dataGrid);
this.jeecgOrderMainService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);
}
这种方式获取分页列表,如果new CriteriaQuery(JeecgOrderMainEntity.class, dataGrid);中的实体类是动态的,比如按天分表的实体类,在这里如何处理?
页:
[1]