admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package cn.stylefeng.guns.modular.dq.materialTraceability.service;
 
import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.dq.materialTraceability.entity.MaterialTraceability;
import cn.stylefeng.guns.modular.dq.materialTraceability.model.params.MaterialTraceabilityParam;
import cn.stylefeng.guns.modular.dq.materialTraceability.model.result.MaterialTraceabilityResult;
import cn.stylefeng.guns.modular.om.productionOrderBatchInfo.model.params.ProductionOrderBatchInfoParam;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * <p>
 * 物料追溯 服务类
 * </p>
 *
 * @author cl
 * @since 2022-10-29
 */
public interface MaterialTraceabilityService extends IService<MaterialTraceability> {
 
    /**
     * 新增
     *
     * @author cl
     * @Date 2022-10-29
     */
    void add(MaterialTraceabilityParam param);
 
    /**
     * 删除
     *
     * @author cl
     * @Date 2022-10-29
     */
    void delete(MaterialTraceabilityParam param);
 
    /**
     * 更新
     *
     * @author cl
     * @Date 2022-10-29
     */
    void update(MaterialTraceabilityParam param);
 
    /**
     * 查询单条数据,Specification模式
     *
     * @author cl
     * @Date 2022-10-29
     */
    MaterialTraceabilityResult findBySpec(MaterialTraceabilityParam param);
 
    /**
     * 查询列表,Specification模式
     *
     * @author cl
     * @Date 2022-10-29
     */
    List<MaterialTraceabilityResult> findListBySpec(MaterialTraceabilityParam param);
 
    /**
     * 查询分页数据,Specification模式
     *
     * @author cl
     * @Date 2022-10-29
     */
     LayuiPageInfo findPageBySpec(MaterialTraceabilityParam param);
 
    int barCodeCheck(ProductionOrderBatchInfoParam productionOrderBatchInfoParam);
 
    int updateSFC(String sfcCode, String childSfcCode);
 
    void lineFeedingAddItem(MaterialTraceabilityParam materialTraceabilityParam);
 
    List<MaterialTraceabilityResult> exportTable(MaterialTraceabilityParam materialTraceabilityParam);
}