package com.czg.service.market.mapper;

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

/**
 * 限时折扣 映射层。
 *
 * @author ww
 * @since 2025-10-21
 */
public interface MkLimitTimeDiscountMapper extends BaseMapper<MkLimitTimeDiscount> {
    /**
     * 根据店铺ID查询限时折扣
     *
     * @param shopId 店铺ID
     * @param useDay 使用日期 周几
     * @return 限时折扣
     */
    MkLimitTimeDiscount selectOneByShopId(Long mainShopId, Long shopId, String useDay);
}
