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); }