@Override public List<MatchShopEntity> selectAllEntity(Object attach) { List<MatchShopEntity> entitys = dao.selectAllEntity(attach); for (MatchShopEntity entity : entitys) { entity.obtainAfter(); } return entitys; }
@Override public List<MatchShopEntity> selectEntityByUserId(long userId, Object attach) { List<MatchShopEntity> entitys = dao.selectEntityByUserId(userId, attach); for (MatchShopEntity entity : entitys) { entity.obtainAfter(); } return entitys; }
@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; }
@Override public List<String> selectAllTableName(Object attach) { return dao.selectAllTableName(attach); }
@Override public void createTable(Object attach) { dao.createTable(attach); }