Package com.lgx8.common

Examples of com.lgx8.common.PageArgument


    String cz_st = request.getParameter("cz_st");
    String cz_ed = request.getParameter("cz_ed");
    String qr_st = request.getParameter("qr_st");
    String qr_ed = request.getParameter("qr_ed");
    StringBuffer sb = new StringBuffer();
    PageArgument pr = getPageInfo(request);
    if(cz_st!=null&&cz_st.length()!=0){
      sb.append(" and t1.CZSJ >= str_to_date('"+cz_st+"','%Y-%m-%d %H:%i:%s')");
    }
    if(cz_ed!=null&&cz_ed.length()!=0){
      sb.append(" and t1.CZSJ <= str_to_date('"+cz_ed+"','%Y-%m-%d %H:%i:%s')");
View Full Code Here


    String cz_ed = request.getParameter("cz_ed");
    String qr_st = request.getParameter("qr_st");
    String qr_ed = request.getParameter("qr_ed");
    String czzt = request.getParameter("czzt");
    StringBuffer sb = new StringBuffer();
    PageArgument pr = getPageInfo(request);
    if(cz_st!=null&&cz_st.length()!=0){
      sb.append(" and czsj >= str_to_date('"+cz_st+"','%Y-%m-%d %H:%i:%s')");
    }
    if(cz_ed!=null&&cz_ed.length()!=0){
      sb.append(" and czsj <= str_to_date('"+cz_ed+"','%Y-%m-%d %H:%i:%s')");
View Full Code Here

 
  @RequestMapping("/listmerchant.do")
  public ModelAndView listMerchant(HttpServletRequest request,HttpServletResponse response){
    String st_time = request.getParameter("tj_st");
    String ed_time = request.getParameter("tj_ed");
    PageArgument pageArgment = getPageInfo(request);
    RunTimeUser rtUser = RunTimeUser.getRunTimeUser(request);
    long _orid = 0;
    if(rtUser!=null){
      long _type = rtUser.getUsertype();
      if(_type==3){
View Full Code Here

  }
  @RequestMapping("/listorganization.do")
  public ModelAndView listOrgnization(HttpServletRequest request,HttpServletResponse response){
    String st_time = request.getParameter("tj_st");
    String ed_time = request.getParameter("tj_ed");
    PageArgument pageArgment = getPageInfo(request);
    RunTimeUser rtUser = RunTimeUser.getRunTimeUser(request);
    long _orid = 0;
    if(rtUser!=null){
      long _type = rtUser.getUsertype();
      if(_type==3){
View Full Code Here

  @RequestMapping("/organization/listorganization.do")
  public ModelAndView listAllOrgnization(HttpServletRequest request,HttpServletResponse response){
    String st_time = request.getParameter("tj_st");
    String ed_time = request.getParameter("tj_ed");
    PageArgument pageArgment = getPageInfo(request);
    RunTimeUser rtUser = RunTimeUser.getRunTimeUser(request);
    StringBuffer sb = new StringBuffer();
    List<Object> o = new ArrayList<Object> ();
    if(st_time!=null&&st_time.length()>0){
      sb.append(" and jgtjsj>=str_to_date(?,'%Y-%m-%d %H:%i:%s')");
View Full Code Here

    queryForm.setTitle(title);
    queryForm.setAuthor(author);
    queryForm.setEtime(etime);
    queryForm.setStime(stime);
    queryForm.setType(type);
    PageArgument pageArgment = getPageInfo(request);
    PageList pageList = newsDao.findUserByConditions(queryForm.toHql(), queryForm.getPara(), pageArgment);
    printJSON(response, pageList.toJSON());
    return null;
  }
View Full Code Here

  //根据类查询别首页推荐
  @RequestMapping("/category/categoryPageQuery.do")
  public ModelAndView categoryPageQuery(HttpServletRequest request,HttpServletResponse response){
    String id = request.getParameter("id");
    String areaNode = request.getParameter("areaNode");
    PageArgument pageArgment = getPageInfo(request);
    PageList list = gatewayCategoryDetailDao.findPageGatewayCategoryDetailByCategoryId(StrUtil.parseInt(id),areaNode, pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
View Full Code Here

      areacategoryId = "0";
    }
    String areaNode = request.getParameter("areaNode");
    String code = request.getParameter("code");
    String name = request.getParameter("name");
    PageArgument pageArgment = getPageInfo(request);
    PageList list =  productDao.findAllProductByAreaCategoryId(Long.parseLong(areacategoryId),areaNode,pageArgment,code,name);
    printJSON(response, list.toJSON());
    return null;
  }
View Full Code Here

  //添加首页广告推荐列表
  @RequestMapping("/category/addAdList.do")
  public ModelAndView addAdList(HttpServletRequest request,HttpServletResponse response) {
//    String areacategoryId = request.getParameter("areacategoryId");
//    String areaName = request.getParameter("areaName");
    PageArgument pageArgment = getPageInfo(request);
    PageList list = advertisementDao.findAllAdvertisement(pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
View Full Code Here

 
  @RequestMapping("/category/addCategoryList.do")
  public ModelAndView addCategoryList(HttpServletRequest request,HttpServletResponse response){
//    String areacategoryId = request.getParameter("areacategoryId");
//    String areaName = request.getParameter("areaName");
    PageArgument pageArgment = getPageInfo(request);
    PageList list = categoryDao.findAllCategory(pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
View Full Code Here

TOP

Related Classes of com.lgx8.common.PageArgument

Copyright © 2018 www.massapicom. 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.