/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.distribution.comment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.distribution.comment.model.DistributionLevelSet;

/**
 *
 * @author lgh on 2019/04/04.
 */
public interface DistributionLevelSetService extends IService<DistributionLevelSet> {
    /**
     * 获取等级设置并携带当前店铺拥有的等级数据
     * @param shopId
     * @return
     */
    DistributionLevelSet getByShopId();



    void saveByDistributionLevelSet(DistributionLevelSet distributionLevelSet);

    void updateByDistributionLevelSet(DistributionLevelSet distributionLevelSet);

//    /**
//     * 根据店铺id创建一条初始等级设置数据
//     * @param shopId
//     * @return
//     */
//    DistributionLevelSet createInitialLevelSet(Long shopId);
}
