@Override
 public PaginationSupport<ModelAnnounce> get(
     ModelAnnounce model, int pageSize, int offset, String order, Boolean isDesc)
     throws ServiceException {
   try {
     return announceDAO.get(model, pageSize, offset, order, isDesc);
   } catch (DAOException e) {
     logger.error("get annnounces by pager failed ,caused by:" + e.getMessage());
     e.printStackTrace();
   } catch (Exception e) {
     logger.error("get annnounces by pager failed ,caused by:" + e.getMessage());
     throw (new ServiceException(e));
   }
   return null;
 }
 @Override
 public ModelAnnounce get(String id) throws ServiceException {
   if (UtilsString.isNotEmpty(id)) {
     try {
       return announceDAO.get(id);
     } catch (DAOException e) {
       logger.error("get annnounce by id" + id + ",caused by:" + e.getMessage());
       e.printStackTrace();
     } catch (Exception e) {
       logger.error("get annnounce by id" + id + ",caused by:" + e.getMessage());
       throw (new ServiceException(e));
     }
   }
   return null;
 }