You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.0 KiB
49 lines
1.0 KiB
package com.hai.service;
|
|
|
|
import com.hai.entity.HighCouponCode;
|
|
import com.hai.model.HighCouponCodeModel;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @Auther: 胡锐
|
|
* @Description: 卡券销售码
|
|
* @Date: 2021/3/14 17:44
|
|
*/
|
|
public interface HighCouponCodeService {
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 增加
|
|
* @Date 2021/3/14 17:44
|
|
**/
|
|
void insertCouponCode(HighCouponCode highCouponCode);
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 批量增加
|
|
* @Date 2021/3/18 21:30
|
|
**/
|
|
void insertList(List<HighCouponCode> list);
|
|
|
|
/**
|
|
*
|
|
* @Title: getStockCountByCoupon
|
|
* @Author 胡锐
|
|
* @Description: 查询卡卷的库存数量
|
|
* @Date 11:24 2021/3/16
|
|
* @Param [couponId]
|
|
* @return java.lang.Integer
|
|
**/
|
|
Integer getStockCountByCoupon(Long couponId);
|
|
|
|
/**
|
|
* @Author 胡锐
|
|
* @Description 查询销售码
|
|
* @Date 2021/3/21 16:37
|
|
**/
|
|
List<HighCouponCode> getCouponCodeList(Map<String,Object> map);
|
|
|
|
}
|
|
|