chenhj
2 天以前 8097a2a4383a3785e11990170d61c59ae6b48888
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
30
31
32
33
package com.ruoyi.business.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.dto.OfficialInventoryDto;
import com.ruoyi.business.dto.PendingInventoryDto;
import com.ruoyi.business.entity.InventorySummary;
 
import java.util.List;
 
/**
 * <p>
 * 库存汇总表 服务类
 * </p>
 *
 * @author chenhj
 * @since 2025-06-14
 */
public interface InventorySummaryService extends IService<InventorySummary> {
 
    /**
     * 更新库存
     * @param pendingInventoryDto 待处理库存
     * @param officialInventoryDto 正式库存
     */
    int updateInventory(PendingInventoryDto pendingInventoryDto, OfficialInventoryDto officialInventoryDto);
 
    /**
     * 批量更新库存
     * @param ids 库存id
     * @return
     */
    int updateInventorySummary(List<Long> ids);
}