package com.pcloud.book.advertising.dao;

import com.pcloud.book.advertising.entity.AdvertisingBmOptionItem;
import com.pcloud.common.core.dao.BaseDao;

/**
 * @描述：报名选项清单
 * @作者：zhuyajie
 * @创建时间：20:06 2019/6/27
 * @版本：1.0
 */
public interface BmOptionItemDao extends BaseDao<AdvertisingBmOptionItem> {
    /**
     * 根据选项ID删除选项清单
     * @param optionId 选项ID
     * @return
     */
    long deleteByOptionId(Long optionId);

    /**
     * 获取选项值
     * @param optionItemId
     * @return
     */
    String getValueById(Long optionItemId);
}
