package cn.ysk.cashier.repository.shop;

import cn.ysk.cashier.pojo.shop.TbPurchaseNotice;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


/**
 * @website https://eladmin.vip
 * @author ww
 * @date 2024-04-25
 **/
public interface TbPurchaseNoticeRepository extends JpaRepository<TbPurchaseNotice, Integer>, JpaSpecificationExecutor<TbPurchaseNotice> {

    /**
     * 根据 proId 查询
     * @param proId
     * @return /
     */
    TbPurchaseNotice findByCouponId(Integer proId);
}