package com.hzs.activity.recommend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hzs.common.domain.activity.recommend.AcRepurSharRuleConfig;

/**
 * 复购均分配置 服务类
 */
public interface IAcRepurSharRuleConfigService extends IService<AcRepurSharRuleConfig> {

    /**
     * 根据订单ID查询规则
     *
     * @param pkBaseId 活动ID
     * @return AcRepurSharRuleConfig
     */
    AcRepurSharRuleConfig selectAcRepurSharRuleConfigByBaseId(Long pkBaseId);


    /**
     * 根据条件删除规则配置
     *
     * @param activityId 活动ID
     * @param pkModifyId 修改人ID
     * @return
     */
    Boolean deleteSharRuleConfigByActivityId(Long activityId, Long pkModifyId);


}
