miniDao方式获取数据,但是datagrid的dgOpenOpt和dgDelOpt列无法显示
miniDao方式获取数据,但是datagrid的dgOpenOpt和dgDelOpt列无法显示?是什么原因造成的
取数据代码如下:
@RequestMapping(params = "datagrid")
public void datagrid(HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) {
/**miniDao方式获取数据**/
String sbSn="",sbMc="";
if(request.getParameter("sbSn")!=null&&request.getParameter("sbSn")!="")
{
sbSn=request.getParameter("sbSn");
}
if(request.getParameter("sbMc")!=null&&request.getParameter("sbMc")!="")
{
sbMc=request.getParameter("sbMc");
}
//System.out.println(sbSn);
List<Map<String,Object>> maplist=dqjlsjMimidaoDao.getYLSJ(dataGrid.getPage(), dataGrid.getRows(),sbSn,sbMc);
Integer count = dqjlsjMimidaoDao.getCount();
dataGrid.setTotal(count);
dataGrid.setResults(maplist);
TagUtil.datagrid(response, dataGrid);
}
QQ截图20180918211359.jpg (53.05 KB, 下载次数: 0)
http://www.jeecg.org/data/attachment/forum/201809/18/211803cnala6jzdq2dqngz.jpg
参考jeecg的 minidao 常用示例 例子
页:
[1]