String businessKey = oConvertUtils.getString(request.getParameter("businessKey"));
String subclassname = oConvertUtils.getString(request.getParameter("subclassname"));// 子类类名
String type = oConvertUtils.getString(request.getParameter("typename"));
String code = oConvertUtils.getString(request.getParameter("typecode"));
String filekey = oConvertUtils.getString(request.getParameter("filekey"));
CriteriaQuery cq = new CriteriaQuery(MyClassLoader.getClassByScn(subclassname), dataGrid);
cq.eq("businessKey", businessKey);
if (StringUtil.isNotEmpty(type)) {
cq.createAlias("TBInfotype", "TBInfotype");
cq.eq("TBInfotype.typename", type);
}
if (StringUtil.isNotEmpty(filekey)) {
cq.eq("id", filekey);
}
if (StringUtil.isNotEmpty(code)) {
cq.createAlias("TBInfotype", "TBInfotype");
cq.eq("TBInfotype.typecode", code);
}
cq.add();
this.systemService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);
}