package com.czg.market.service;

import com.czg.exception.CzgException;
import com.czg.market.dto.MkConsumeDiscountDTO;
import com.czg.market.vo.MkConsumeDiscountVO;
import com.mybatisflex.core.service.IService;
import com.czg.market.entity.MkConsumeDiscount;

/**
 * 新客立减 服务层。
 *
 * @author zs
 * @since 2025-09-16
 */
public interface MkConsumeDiscountService extends IService<MkConsumeDiscount> {

    MkConsumeDiscountVO detail(Long shopId);

    Boolean edit(Long shopId, MkConsumeDiscountDTO consumeDiscountDTO) throws CzgException;
}
