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] * @return java.util.List */ List getDiscountPackageList(Map 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] * @return java.util.List */ List getDiscountPackageRecordList(Map 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); }