1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| package com.ruoyi.promotion.service;
|
| import com.baomidou.mybatisplus.extension.service.IService;
| import com.ruoyi.system.api.domain.PromotionWishRecommend;
|
| /**
| * <p>
| * 心愿求购平台推荐商品 服务类
| * </p>
| *
| * @author mitao
| * @since 2024-10-29
| */
| public interface IPromotionWishRecommendService extends IService<PromotionWishRecommend> {
| /**
| * 扣减推荐商品库存
| * @param goodsQuantity
| * @param id
| * @return
| */
| Integer subRecommendAvailableNum(Integer goodsQuantity, Long id);
| /**
| * 恢复荐商品可购数量
| * @param goodsQuantity
| * @param id
| * @return
| */
| void addRecommendAvailableNum(Integer goodsQuantity, Long id);
| }
|
|