package com.hai.order.service.impl;

import com.hai.dao.order.OrderMapperExt;
import com.hai.order.service.OrderServiceExt;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @className: OrderExtServiceImpl
 * @author: HuRui
 * @date: 2022/8/26
 **/
@Service("newOrderServiceExt")
public class OrderServiceExtImpl implements OrderServiceExt {

    @Resource
    private OrderMapperExt orderMapperExt;

    @Override
    public int userBuyCouponNum(Long userId, Long couponId) {
        return orderMapperExt.userBuyCouponNum(userId,couponId);
    }
}
