#
luxiaotao1123
2021-03-10 1c6659a0f946b15bea84bccb206fe11111ac211e
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
34
35
36
37
38
39
40
41
package zy.cloud.wms.manager.service;
 
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import zy.cloud.wms.manager.entity.LocDetl;
 
import java.util.List;
 
public interface LocDetlService extends IService<LocDetl> {
 
    Page<LocDetl> getPage(Page<LocDetl> page);
 
    LocDetl getLocDetl(Long nodeId, String matnr);
 
    List<LocDetl> findOfSort(String matnr);
 
    /**
     * 查看当前订单号的物料在库存中是否充足
     * @param number
     */
    void checkLocDetlCount(String number);
 
    /**
     * 减少库存
     */
    Boolean reduceStock(Long nodeId, String matnr, Double anfme);
 
    /**
     * 增加库存
     */
    Boolean incrementStock(Long nodeId, String matnr, Double anfme);
 
    /**
     * 删除库存
     * @param nodeId
     * @param matnr
     * @return
     */
    Boolean removeStock(Long nodeId, String matnr);
 
}