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

Examples of com.eatle.persistent.pojo.foundation.place.School


  private Map<Long, List<School>> pushShoolListIntoMap(List<School> shoolList)
  {
    Map<Long, List<School>> shoolMap = new HashMap<Long, List<School>>();
    for (int i = 0; i < shoolList.size(); i++)
    {
      School shool = shoolList.get(i);
      Long distinctId = shool.getDistrictId();
      Long key = distinctId;
      if (distinctId == null || distinctId == 0)
      {
        key = 0L;
      }
View Full Code Here


      json.put(DwzAjaxJsonUtil.KEY_STATUSCODE, 300);
      json.put(DwzAjaxJsonUtil.KEY_MESSAGE, "操作失败!");
    }
    else
    {
      School sl = schoolService.findById(school.getId());
      ReflectionUtils.copyPorperties(sl, school, new String[] { "name",
          "englishName", "districtId" });
      schoolService.update(sl);
    }
    super.writeMap(json);
View Full Code Here

TOP

Related Classes of com.eatle.persistent.pojo.foundation.place.School

Copyright © 2018 www.massapicom. 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.