Cui Zhi Feng
2024-08-30 3d237ccfcc5aa5534bda80131287e1562e2e0ad3
src/main/java/com/mzl/flower/service/coupon/CouponRecordService.java
@@ -56,6 +56,15 @@
     * @param queryExistCouponDTO
     * @return
     */
    int getExistCouponAmount(QueryExistCouponDTO queryExistCouponDTO);
    Integer getExistCouponAmount(QueryExistCouponDTO queryExistCouponDTO);
    /**
     * 根据优惠券的ID来查找已经领取的优惠券的数量
     * @param couponId
     * @return
     */
    Integer getExistGainCouponRecordAmountById(String couponId);
    Integer getUserGainCouponRecordAmountById(String couponId,Long customerId);
}