package com.czg.service.market.mapper;

import com.mybatisflex.core.BaseMapper;
import com.czg.market.entity.MkDiscountActivity;

/**
 * 商家满减活动表 映射层。
 *
 * @author ww
 * @since 2025-10-13
 */
public interface MkDiscountActivityMapper extends BaseMapper<MkDiscountActivity> {

    /**
     * 根据店铺ID查询限时折扣
     *
     * @param shopId 店铺ID
     * @param useDay 使用日期 周几
     * @return 限时折扣
     */
    MkDiscountActivity selectOneByShopId(Long shopId, String useDay);
}
