2026-06-29 940c8481d2fdcf51341db4ccd6fd6fcc2d43debb
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 cn.iocoder.yudao.module.wms.service.inventory;
 
import cn.iocoder.yudao.module.wms.dal.dataobject.inventory.WmsInventoryTransactionDO;
 
import java.util.List;
 
/**
 * WMS 库存事务流水 Service 接口
 *
 * @author 芋道源码
 */
public interface WmsInventoryTransactionService {
 
    /**
     * 创建事务流水
     *
     * @param transaction 事务流水
     * @return 事务流水ID
     */
    Long createTransaction(WmsInventoryTransactionDO transaction);
 
    /**
     * 批量创建事务流水
     *
     * @param transactions 事务流水列表
     */
    void createTransactionList(List<WmsInventoryTransactionDO> transactions);
 
}