@Override public Area queryAreaById(long id) throws ManagerException { try { return areaDao.selectOneArea(id); } catch (DAOException e) { throw new ManagerException(e.getMessage(), e); } }
@Override public int editArea(Area area) throws ManagerException { try { return areaDao.updateArea(area); } catch (DAOException e) { throw new ManagerException(e.getMessage(), e); } }
@Override public List<Area> queryAreaList(QueryArea queryArea, PagingList<Area> areaPage) throws ManagerException { try { return areaDao.selectAreaList(queryArea, areaPage); } catch (DAOException e) { throw new ManagerException(e.getMessage(), e); } }