package com.hzs.activity.recommend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzs.common.domain.activity.recommend.AcRepurSharRuleConfig;
import com.hzs.common.domain.activity.recommend.ext.AcRepurSharRuleConfigExt;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 复购均分配置 Mapper 接口
 */
public interface AcRepurSharRuleConfigMapper extends BaseMapper<AcRepurSharRuleConfig> {

    /**
     * 根据条件删除规则配置
     *
     * @param orderTypeList 订单类型
     * @param activityId    活动ID
     * @param pkModifyId    修改人ID
     * @return
     */
    Integer deleteSharRuleConfigByActivityId(@Param("orderTypeList") List<Integer> orderTypeList,
                                             @Param("activityId") Long activityId, @Param("pkModifyId") Long pkModifyId);

}
