Examples of FrontMenuCriteria


Examples of com.eatle.persistent.pojo.system.frontdata.FrontMenuCriteria

  @Override
  public Pagination findPagination(Map<String, Object> queryMap,
      int currentPage, int pageSize)
  {
    FrontMenuCriteria menuCriteria = new FrontMenuCriteria();
    // 设置分页参数
    menuCriteria.setPageSize(pageSize);
    menuCriteria.setStartIndex((currentPage - 1) * pageSize);
    List<FrontMenu> items = frontMenuMapper.selectByCriteria(menuCriteria);
    int totalCount = (int) frontMenuMapper.selectCountByCriteria(menuCriteria);
    return new Pagination(pageSize, currentPage, totalCount, items);
  }
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.