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