admin
2024-01-08 22f70cc8b2ba603e82bba058db320dced48f9470
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.cm.paramCollection.mapper;
2
3 import cn.stylefeng.guns.modular.cm.paramCollection.entity.ParamCollection;
4 import cn.stylefeng.guns.modular.cm.paramCollection.model.params.ParamCollectionParam;
5 import cn.stylefeng.guns.modular.cm.paramCollection.model.result.ParamCollectionResult;
6 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
7 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
8 import org.apache.ibatis.annotations.Param;
9
10 import java.util.List;
11 import java.util.Map;
12
13 /**
14  * <p>
15  * 设备产品过程参数采集 Mapper 接口
16  * </p>
17  *
18  * @author zrm
19  * @since 2023-02-11
20  */
21 public interface ParamCollectionMapper extends BaseMapper<ParamCollection> {
22
23     /**
24      * 获取列表
25      *
26      * @author zrm
27      * @Date 2023-02-11
28      */
29     List<ParamCollectionResult> customList(@Param("paramCondition") ParamCollectionParam paramCondition);
30
31     /**
32      * 获取map列表
33      *
34      * @author zrm
35      * @Date 2023-02-11
36      */
37     List<Map<String, Object>> customMapList(@Param("paramCondition") ParamCollectionParam paramCondition);
38
39     /**
40      * 获取分页实体列表
41      *
42      * @author zrm
43      * @Date 2023-02-11
44      */
45     Page<ParamCollectionResult> customPageList(@Param("page") Page page, @Param("paramCondition") ParamCollectionParam paramCondition);
46
47     /**
48      * 获取分页map列表
49      *
50      * @author zrm
51      * @Date 2023-02-11
52      */
53     Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ParamCollectionParam paramCondition);
54
55     /**
56      * 根据分总成编码更新为总成编码
57      */
58     int updateSFC(@Param("sfcCode") String sfcCode, @Param("childSfcCode") String childSfcCode);
59 }