コード例 #1
0
 @Override
 public List<MatchShopEntity> selectEntityByUserId(long userId, Object attach) {
   List<MatchShopEntity> entitys = dao.selectEntityByUserId(userId, attach);
   for (MatchShopEntity entity : entitys) {
     entity.obtainAfter();
   }
   return entitys;
 }
コード例 #2
0
 @Override
 public List<MatchShopEntity> selectAllEntity(Object attach) {
   List<MatchShopEntity> entitys = dao.selectAllEntity(attach);
   for (MatchShopEntity entity : entitys) {
     entity.obtainAfter();
   }
   return entitys;
 }
コード例 #3
0
 @Override
 public MatchShopEntity selectEntityByUserIdAndShopType(long userId, int shopType, Object attach) {
   MatchShopEntity entity =
       (MatchShopEntity) dao.selectEntityByUserIdAndShopType(userId, shopType, attach);
   if (entity != null) {
     entity.obtainAfter();
   }
   return entity;
 }