|
java代码:
@RequestMapping(params = "datagrid")
public void datagrid(FAirpriceEntity fAirprice,HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) {
CriteriaQuery cq = new CriteriaQuery(FAirpriceEntity.class, dataGrid);
//查询条件组装器
org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, fAirprice, request.getParameterMap());
try{
//自定义追加查询条件
}catch (Exception e) {
throw new BusinessException(e.getMessage());
}
cq.add();
this.fAirpriceService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);
}
我希望datagrid里面显示的范围是create_by字段是sys_user_code
java代码里面如何实现?
|
|