Package com.lgx8.common

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


        hql = " from Rechargehistory t1 where "+sb.toString().substring(4)+" order by t1.CZSJ desc";
      }else{
        hql = " from Rechargehistory t1 order by t1.CZSJ desc";
      }
      PageList list = rechargehistoryDao.listRechargehistoryByConditions(hql, new Object[]{}, pr);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
View Full Code Here


    RunTimeUser rtUser = RunTimeUser.getRunTimeUser(request);
    if(rtUser!=null&&rtUser.getUsertype()==User.USER_TYPE_GSYG){
      String hql = "";
        hql = "from Rechargehistory where ifnull(deleteflag,'0')='0' "+sb.toString()+" order by czsj desc";
      PageList list = rechargehistoryDao.listRechargehistoryByConditions(hql, new Object[]{}, pr);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
  @RequestMapping("/recharge/saverechargehistory.do")
View Full Code Here

          hql = " from Merchant where DELETEFLAG = 0 and ssjgbh=? order by sjtjsj desc";
          o = new Object[]{_orid};
        }
      }
      PageList list = userOrganizationMerchantService.listMerchantByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
  @RequestMapping("/listorganization.do")
  public ModelAndView listOrgnization(HttpServletRequest request,HttpServletResponse response){
View Full Code Here

          hql = " from Organization where DELETEFLAG = 0 and jgssjg=? order by jgtjsj desc";
          o = new Object[]{_orid};
        }
      }
      PageList list = userOrganizationMerchantService.listOrganizationByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }

  @RequestMapping("/organization/listorganization.do")
View Full Code Here

        hql = " from Organization where DELETEFLAG = '0' and "+sb.toString().substring(4)+" order by jgtjsj desc";
      }else{
        hql = " from Organization where DELETEFLAG = '0' order by jgtjsj desc";
      }
      PageList list = userOrganizationMerchantService.listOrganizationByConditions(hql, o.toArray(), pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
  @RequestMapping("/organization/addOrganizationInit.do")
View Full Code Here

    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;
  }
  /**
   * 删除新闻公告规则
   * @param request
View Full Code Here

  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;
  }
 
  //删除首页类别推荐
  @RequestMapping("/category/categoryDel.do")
View Full Code Here

    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;
  }
 
  //添加首页广告推荐列表
  @RequestMapping("/category/addAdList.do")
View Full Code Here

  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;
  }
 
  @RequestMapping("/category/categorySaveOrder.do")
  public void categorySaveOrder(HttpServletRequest request,HttpServletResponse response) {
View Full Code Here

  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;
  }
 
  @RequestMapping("/category/addBrandList.do")
  public ModelAndView addBrandList(HttpServletRequest request,HttpServletResponse response){
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.