应该是工程师忘记拼装查询条件了,你需要修改SystemControler.java的documentList方法,修改如下
/** * 新闻法规文件列表 */ @RequestMapping(params = "documentList") public void documentList(TSDocument document, HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) { CriteriaQuery cq = new CriteriaQuery(TSDocument.class, dataGrid); //查询条件组装器 org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, document); String typecode = oConvertUtils.getString(request.getParameter("typecode")); cq.createAlias("TSType", "TSType"); cq.eq("TSType.typecode", typecode); cq.add(); this.systemService.getDataGridReturn(cq, true); TagUtil.datagrid(response, dataGrid); }