Пример #1
0
 @Override
 public ArticalTagDTO getById(Integer id) {
   if (id == null) {
     return null;
   }
   ArticalTag articalTag = new ArticalTag();
   articalTag.setTagId(id);
   return tagDao.getTagByParam(articalTag);
 }
Пример #2
0
 @Override
 public ArticalTagDTO getArticalParam(ArticalTag tag) {
   return tagDao.getTagByParam(tag);
 }