Package com.eatle.persistent.pojo.foundation.place

Examples of com.eatle.persistent.pojo.foundation.place.SchoolCriteria.createCriteria()


    {
      Map<Long, String> schoolsMap = new HashMap<Long, String>();
      List<School> schools = new ArrayList<School>();
     
      SchoolCriteria sc = new SchoolCriteria();
      com.eatle.persistent.pojo.foundation.place.SchoolCriteria.Criteria criteria = sc.createCriteria();
      if(school != null)
      {
        criteria.andDistrictIdEqualTo(school.getDistrictId());
        schools = schoolService.findByCriteria(sc);
      }
View Full Code Here


  @Override
  public Pagination findPagination(Map<String, Object> queryMap,
      int currentPage, int pageSize)
  {
    SchoolCriteria schoolCriteria = new SchoolCriteria();
    Criteria criteria = schoolCriteria.createCriteria();
    // 设置搜索条件参数
    if (queryMap != null)
    {
      if (queryMap.containsKey("name"))
      {
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.