Package com.lgx8.common

Examples of com.lgx8.common.PageList.toJSON()


    {
      scoreEnd = "0";
    }
   
    PageList pageList = scorecardDao.listScorecards(card, Double.parseDouble(scoreStart), Double.parseDouble(scoreEnd), effectiveTimeStart, effectiveTimeEnd, pageArgment.getCurPage(), pageArgment.getPageSize());
    printJSON(response, pageList.toJSON());
    return null;
  }
 
  @RequestMapping(value="/deleteScorecard.do")
    public ModelAndView deleteScorecard(HttpServletRequest request,HttpServletResponse response) {
View Full Code Here


   
   
    hql += " order by u.registertime desc";
   
    PageList pageList = userDao.findUserByConditions(hql, o, pageArgment);
    printJSON(response, pageList.toJSON());
    return null;
  }
 
  @RequestMapping(value="/authzRoleIni.do")
  public ModelAndView authzRoleIni(HttpServletRequest request,HttpServletResponse response){
View Full Code Here

    } else {
      hql = "from Brand b";
      param = new Object[]{};
    }
    PageList list = productDao.findBrand(hql, param, pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
 
  @RequestMapping("/brand/addBrandIni.do")
  public ModelAndView addBrandIni(HttpServletRequest request,HttpServletResponse response){
View Full Code Here

      hql = "from Role r where r.name like ? and r.uid = ?";
      o = new Object[]{"%"+roleName+"%",curUser.getId()};
    }
   
    PageList pageList = roleService.queryRolesByPage(pageArgment, hql, o);
    printJSON(response, pageList.toJSON());
    return null;
  }
 
  /**
   * 角色编辑菜单树
 
View Full Code Here

    queryForm.setMobile(mobile);
    queryForm.setOrganizationid(orid);
    queryForm.setParenttype(type);
    queryForm.setMerchant(merchant);
    PageList list = userDao.findUserByConditions(queryForm.toHql(), queryForm.getPara(), pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
 
  @RequestMapping("/member/modifyUserIni.do")
  public ModelAndView modifyUserIni(HttpServletRequest request,HttpServletResponse response) {
View Full Code Here

      }
    }
   
    list.setDataList(users);
   
    printJSON(response, list.toJSON());
    return null;
  }
 
  @RequestMapping("/user/selectUserInfo.do")
  public ModelAndView selectUserInfo(HttpServletRequest request,HttpServletResponse response) throws IOException{
View Full Code Here

    }
   
    hql += " order by u.id desc";
   
    PageList list = userDao.findUserByConditions(hql, new Object[]{}, pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
}
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.