@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; }