package com.hzs.activity.recommend.service;


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

import java.util.List;

/**
 * <p>
 * 复购券均分-订单类型 服务类
 * </p>
 *
 * @author hzs
 * @since 2023-05-04
 */
public interface IAcRepurSharOrderTypeService extends IService<AcRepurSharOrderType> {

    /**
     * 根据活动ID查旬订单类型
     *
     * @param pkRuleId 规则ID
     * @return AcRepurSharOrderType
     */
    List<AcRepurSharOrderType> selectSharOrderByRuleId(Long pkRuleId);

    /**
     * 根据活动ID删除订单类型
     *
     * @param pkRuleId 活动ID
     * @return Boolean
     */
    Boolean deleteSharOrderTypeByRuleId(Long pkRuleId, Long pkModifyId);
}
