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.
92 lines
2.8 KiB
92 lines
2.8 KiB
package com.hai.service;
|
|
|
|
import com.hai.entity.HighDiscount;
|
|
import com.hai.entity.HighDiscountPackage;
|
|
import com.hai.entity.HighDiscountPackageRecord;
|
|
import com.hai.model.UserInfoModel;
|
|
import io.swagger.models.auth.In;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
|
|
/**
|
|
* @serviceName HighCouponPackageService.java
|
|
* @author Sum1Dream
|
|
* @version 1.0.0
|
|
* @Description // 优惠券包接口服务
|
|
* @createTime 11:31 上午 2021/11/25
|
|
**/
|
|
public interface HighDiscountPackageService {
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name getCouponPackageList.java
|
|
* @Description // 获取优惠券包列表
|
|
* @Date 11:34 上午 2021/11/25
|
|
* @Param [java.util.Map<java.lang.String,java.lang.Object>]
|
|
* @return java.util.List<com.hai.entity.HighCouponPackage>
|
|
*/
|
|
List<HighDiscountPackage> getDiscountPackageList(Map<String , Object> map);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name findCouponPackageById.java
|
|
* @Description //
|
|
* @Date 11:35 上午 2021/11/25
|
|
* @Param [java.lang.Integer]
|
|
* @return com.hai.entity.HighCouponPackage
|
|
*/
|
|
HighDiscountPackage findDiscountPackageById(Integer id);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name getCallExclusive.java
|
|
* @Description // 查询优惠券包专属
|
|
* @Date 4:02 下午 2021/11/30
|
|
* @Param [java.lang.Integer]
|
|
* @return com.hai.entity.HighDiscountPackage
|
|
*/
|
|
HighDiscountPackage getCallExclusive(Integer usingAttribution , Integer companyId);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name insertCouponPackage.java
|
|
* @Description // 新增优惠券包信息
|
|
* @Date 12:07 下午 2021/11/25
|
|
* @Param [com.hai.entity.HighCouponPackage]
|
|
* @return void
|
|
*/
|
|
void insertDiscountPackage(HighDiscountPackage highDiscountPackage);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name updateCouponPackage.java
|
|
* @Description // 新增优惠券包信息
|
|
* @Date 12:07 下午 2021/11/25
|
|
* @Param [com.hai.entity.HighCouponPackage]
|
|
* @return void
|
|
*/
|
|
void updateDiscountPackage(HighDiscountPackage highDiscountPackage);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name getDiscountPackageRecordList.java
|
|
* @Description // 查询优惠券包赠送记录
|
|
* @Date 4:41 下午 2021/12/1
|
|
* @Param [java.util.Map<java.lang.String,java.lang.Object>]
|
|
* @return java.util.List<com.hai.entity.HighDiscountPackageRecord>
|
|
*/
|
|
List<HighDiscountPackageRecord> getDiscountPackageRecordList(Map<String , Object> map);
|
|
|
|
/**
|
|
* @Author Sum1Dream
|
|
* @name addDiscountPackageStock.java
|
|
* @Description // 新增优惠券包库存
|
|
* @Date 11:32 上午 2021/12/7
|
|
* @Param [com.hai.entity.HighDiscountPackage]
|
|
* @return void
|
|
*/
|
|
void addDiscountPackageStock(HighDiscountPackage highDiscountPackage, UserInfoModel userInfoModel , Integer num);
|
|
|
|
}
|
|
|