Package com.lgx8.common

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


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


//    String areacategoryId = request.getParameter("areacategoryId");
    String areaNode = request.getParameter("areaNode");
    String name = request.getParameter("name");
    PageArgument pageArgment = getPageInfo(request);
    PageList list = advertisementDao.findAllAdvertisementByMerchant(pageArgment, areaNode,name);
    printJSON(response, list.toJSON());
    return null;
  }
 
  @RequestMapping("/categroy/modifyImage.do")
  public ModelAndView modifyImage(HttpServletRequest request,HttpServletResponse response){
View Full Code Here

          hql = " from User where organizationid=? and parenttype=? and usertype=1 order by registertime desc";
          o = new Object[]{_orid,_type};
        }
      }
      PageList list = userDao.findUserByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
 
View Full Code Here

        hql = " from Custmerxf t1 where "+sb.toString().substring(4)+" order by t1.XFSJ desc";
      }else{
        hql = " from Custmerxf t1 order by t1.XFSJ desc";
      }
      PageList list = custmerXFDao.listCustmerXFByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
  @RequestMapping("/merchant/listCustmerConsume.do")
View Full Code Here

          hql = " from Custmerxf t1 where t1.xfhy.usertype=1 and t1.xfhy.parenttype=? and t1.xfhy.parent.id=? order by t1.XFSJ desc";
          o = new Object[]{_type,_orid};
        }
      }
      PageList list = custmerXFDao.listCustmerXFByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
  /***
 
View Full Code Here

        hql = " from Rechargehistory where czyhbh =? and czsjbh=? order by czsj desc";
        o = new Object[]{rtUser.getId(),rtUser.getOrganizationid()};
      }
    }
    PageList list = rechargehistoryDao.listRechargehistoryByConditions(hql, o, pageArgment);
    printJSON(response, list.toJSON());
    return null;
  }
 
  @RequestMapping("/loadmerchantxx.do")
  public String updateMerchatXX(HttpServletRequest request,HttpServletResponse response){
View Full Code Here

      }else{
        hql = " from User where usertype=? and organizationid=? order by registertime desc";
        o = new Object[]{_type,_orid};
      }
      PageList list = userDao.findUserByConditions(hql, o, pageArgment);
      printJSON(response, list.toJSON());
    }
    return null;
  }
 
  @RequestMapping("/initmerchantdmxx.do")
View Full Code Here

    queryForm.setEndTime(ed_time);
    queryForm.setOrdersId(userDdId);
    queryForm.setStatus(status);
    PageArgument pageArgment = getPageInfo(request);
    PageList pageList = orderService.queryOrders(queryForm.toHql(), queryForm.getPara(), pageArgment);
    printJSON(response, pageList.toJSON());
    return null;
  }
  @RequestMapping("/order/queryOrdersById.do")
  public ModelAndView ordersQueryById(HttpServletRequest request,HttpServletResponse response){
    String queryId = request.getParameter("queryId");
View Full Code Here

   
    hql += " order by o.time desc";
   
    PageArgument pr = getPageInfo(request);
    PageList pl = orderService.queryOrders(hql, new Object[]{}, pr);
    printJSON(response, pl.toJSON());
    return null;
  }
 
 
  @RequestMapping("/order/delOrders.do")
View Full Code Here

        parameter.add(memberId);
      }
    }
    hql += " order by c.XFSJ desc";
    PageList pageList = custmerXFDao.listCustmerXFByConditions(hql, parameter.toArray(), this.getPageInfo(request));
    this.printJSON(response, pageList.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.