Package org.jeecgframework.core.common.hibernate.qbc

Examples of org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery.notEq()


  @ResponseBody
  public List<ComboTree> setPFunction(HttpServletRequest request,
      ComboTree comboTree) {
    CriteriaQuery cq = new CriteriaQuery(TSFunction.class);
    if(null != request.getParameter("selfId")){
      cq.notEq("id", request.getParameter("selfId"));
    }
    if (comboTree.getId() != null) {
      cq.eq("TSFunction.id", comboTree.getId());
    }
    if (comboTree.getId() == null) {
View Full Code Here


  public List<TreeGrid> functionGrid(HttpServletRequest request,
      TreeGrid treegrid) {
    CriteriaQuery cq = new CriteriaQuery(TSFunction.class);
    String selfId = request.getParameter("selfId");
    if(selfId != null){
      cq.notEq("id", selfId);
    }
    if (treegrid.getId() != null) {
      cq.eq("TSFunction.id", treegrid.getId());
    }
    if (treegrid.getId() == null) {
View Full Code Here

  @RequestMapping(params = "setPFunction")
  @ResponseBody
  public List<ComboTree> setPFunction(HttpServletRequest request, ComboTree comboTree) {
    CriteriaQuery cq = new CriteriaQuery(TSDepart.class);
    if(null != request.getParameter("selfId")){
      cq.notEq("id", request.getParameter("selfId"));
    }
    if (comboTree.getId() != null) {
      cq.eq("TSPDepart.id", comboTree.getId());
    }
    if (comboTree.getId() == null) {
View Full Code Here

          comboTree.getId());
    }
    if (comboTree.getId() == null) {
      cq.isNull("TSFunction");
    }
    cq.notEq("functionLevel",Short.parseShort("-1"));
    cq.add();
    List<TSFunction> functionList = systemService.getListByCriteriaQuery(cq,false);
    List<ComboTree> comboTrees = new ArrayList<ComboTree>();
    String roleId = request.getParameter("roleId");
    List<TSFunction> loginActionlist = new ArrayList<TSFunction>();// 已有权限菜单
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.