JEECG中datagrid方法自定义查询条件
自定义加添加查询条件的用法:
CriteriaQuery cq = new CriteriaQuery(EquipmentEntity.class, dataGrid); //查询条件组装器 org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, equipment, request.getParameterMap()); cq.add(Restrictions.or(Restrictions.in("person",userIds.split(",")),Restrictions.in("receiver",userIds.split(","))));