1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
| package cn.stylefeng.roses.kernel.seata.api;
|
| /**
| * 仓储 api
| *
| * @author wangyl
| * @date 2021/04/10 16:42
| */
| public interface StorageApi {
|
| /**
| * 扣除存储数量
| *
| * @param commodityCode 商品编码
| * @param count 购买数量
| * @author wangyl
| * @date 2021/4/21 9:44
| */
| void deduct(String commodityCode, Integer count);
|
| }
|
|