package com.willalp.event.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.willalp.event.domain.HsEventBusinessRelation;

import java.util.List;

/**
 * 事件相关业务关系Service接口
 *
 * @author willalp
 * @date 2023-01-29
 */
public interface IHsEventBusinessRelationService extends IService<HsEventBusinessRelation> {
    /**
     * 查询事件相关业务关系列表
     *
     * @param hsEventBusinessRelation 事件相关业务关系
     * @return 事件相关业务关系集合
     */
    public List<HsEventBusinessRelation> selectHsEventBusinessRelationList(HsEventBusinessRelation hsEventBusinessRelation);

    /**
     * 操作绑定事件与业务关系
     *
     * @param hsEventBusinessRelation
     * @return
     */
    boolean doBindingRelation(HsEventBusinessRelation hsEventBusinessRelation);


    /**
     * 代理删除购物车已过期商品
     *
     * @param id
     * @return
     */
    int agencyDeleteShopCar(String id);
}
