cloudroam
2024-08-30 a3fbc3990b6bfb39aacc7edad459a762628526ba
src/main/java/com/mzl/flower/service/coupon/CouponRecordService.java
@@ -45,17 +45,26 @@
     */
    boolean expiredCouponRecordByListCurMonth();
    int statisCouponTemplateCount(QueryCouponStatisticsBO queryCouponStatisticsBO);
    Integer statisCouponTemplateCount(QueryCouponStatisticsBO queryCouponStatisticsBO);
    int statisCouponTemplateCurMonCount(QueryCouponStatisticsBO queryCouponStatisticsBO);
    Integer statisCouponTemplateCurMonCount(QueryCouponStatisticsBO queryCouponStatisticsBO);
    int statisCouponPointCurMonPontAmonut(QueryCouponStatisticsBO queryCouponStatisticsBO);
    Integer statisCouponPointCurMonPontAmonut(QueryCouponStatisticsBO queryCouponStatisticsBO);
    /**
     * 根据优惠券种类,优惠券ID,用户的ID查找优惠券的记录数量
     * @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);
}