cl
2024-01-19 e0fac38b26845f25de479783e0c76cf12a5311e0
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.dq.materialTraceability.service;
2
3 import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
4 import cn.stylefeng.guns.modular.dq.materialTraceability.entity.MaterialTraceability;
5 import cn.stylefeng.guns.modular.dq.materialTraceability.model.params.MaterialTraceabilityParam;
6 import cn.stylefeng.guns.modular.dq.materialTraceability.model.result.MaterialTraceabilityResult;
7 import cn.stylefeng.guns.modular.om.productionOrderBatchInfo.model.params.ProductionOrderBatchInfoParam;
8 import com.baomidou.mybatisplus.extension.service.IService;
9
10 import java.util.List;
11
12 /**
13  * <p>
14  * 物料追溯 服务类
15  * </p>
16  *
17  * @author cl
18  * @since 2022-10-29
19  */
20 public interface MaterialTraceabilityService extends IService<MaterialTraceability> {
21
22     /**
23      * 新增
24      *
25      * @author cl
26      * @Date 2022-10-29
27      */
28     void add(MaterialTraceabilityParam param);
29
30     /**
31      * 删除
32      *
33      * @author cl
34      * @Date 2022-10-29
35      */
36     void delete(MaterialTraceabilityParam param);
37
38     /**
39      * 更新
40      *
41      * @author cl
42      * @Date 2022-10-29
43      */
44     void update(MaterialTraceabilityParam param);
45
46     /**
47      * 查询单条数据,Specification模式
48      *
49      * @author cl
50      * @Date 2022-10-29
51      */
52     MaterialTraceabilityResult findBySpec(MaterialTraceabilityParam param);
53
54     /**
55      * 查询列表,Specification模式
56      *
57      * @author cl
58      * @Date 2022-10-29
59      */
60     List<MaterialTraceabilityResult> findListBySpec(MaterialTraceabilityParam param);
61
62     /**
63      * 查询分页数据,Specification模式
64      *
65      * @author cl
66      * @Date 2022-10-29
67      */
68      LayuiPageInfo findPageBySpec(MaterialTraceabilityParam param);
69
70     int barCodeCheck(ProductionOrderBatchInfoParam productionOrderBatchInfoParam);
71
72     int updateSFC(String sfcCode, String childSfcCode);
73
74     void lineFeedingAddItem(MaterialTraceabilityParam materialTraceabilityParam);
75
76     List<MaterialTraceabilityResult> exportTable(MaterialTraceabilityParam materialTraceabilityParam);
77 }