예제 #1
0
 protected void handleFind(PageSearch page) {
   page.getFilters()
       .add(
           new PropertyFilter(
               Infomation.class.getName(), "EQI_deleted", ForeverEntity.DELETED_NO + ""));
   PageSearch result = infomationManager.findList(page);
   page.setTotalCount(result.getTotalCount());
   page.setList(result.getList());
 }
 @Override
 protected String handlePage(HttpServletRequest request, PageSearch page) {
   PageSearch page1 = preparePage(request);
   PageSearch result = subOrderManager.findPhysicalReportOrder(page1);
   page.setTotalCount(result.getTotalCount());
   page.setList(result.getList());
   /*LogisticsCompany logisticsCompany = new LogisticsCompany();*/
   List<LogisticsCompany> logisticsCompanys = logisticsCompanyManager.getAll();
   request.setAttribute("logisticsCompanys", logisticsCompanys);
   afterPage(request, page, PageUtils.IS_NOT_BACK);
   return getFileBasePath() + "listPhysicalReport";
 }
예제 #3
0
 /** 查找所有的三级分类 */
 @Override
 public PageSearch findAllThirdCategory(PageSearch pageSearch) {
   List<ProductCategory> list = productCategoryDao.getAllThirdCategory(pageSearch);
   pageSearch.setList(list);
   return pageSearch;
 }
 /**
  * 取得面向企业价格信息
  *
  * @param null
  * @return 面向企业价List
  */
 @Override
 public PageSearch getCompanyPriceInfo(PageSearch page) {
   List<Map<String, Object>> list = productCompanyPriceDao.getCompanyPriceInfo(page);
   page.setList(list);
   return page;
 }