package com.sqx.modules.activity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sqx.modules.activity.dto.ActivityGoodsDTO;
import com.sqx.modules.activity.entity.ActivityGoods;

import java.util.List;

/**
 * 活动商品
 * @author : codingliang
 * @date : 2024-6-17
 */
public interface ActivityGoodsService extends IService<ActivityGoods> {

    void updateActivityGoods(ActivityGoodsDTO activityGoodsDTO);

    void deleteByActivityShopId(Long activityId);

    /**
     * 根据活动店铺id查询
     * @param activityShopId 活动店铺id
     * @return 活动商品集合
     */
    List<Long> getByActivityShopId(Long activityShopId);
}
