zhanghl
2025-05-23 dec8951aae400e54f6ee83a8f95867dba9da8af1
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
package com.aps.core.mapper;
 
import com.aps.core.domain.ApsGasPipingRouteStat;
import org.apache.ibatis.annotations.Mapper;
 
import java.util.List;
import java.util.Map;
 
/**
 * 气体管路产能负载统计Mapper接口
 * 
 * @author hjy
 * @date 2025-04-24
 */
@Mapper
public interface ApsGasPipingRouteStatMapper 
{
    /**
     * 查询气体管路产能负载统计
     * 
     * @param id 气体管路产能负载统计主键
     * @return 气体管路产能负载统计
     */
    public ApsGasPipingRouteStat selectApsGasPipingRouteStatById(String id);
 
    /**
     * 查询气体管路产能负载统计列表
     * 
     * @param apsGasPipingRouteStat 气体管路产能负载统计
     * @return 气体管路产能负载统计集合
     */
    public List<ApsGasPipingRouteStat> selectApsGasPipingRouteStatList(ApsGasPipingRouteStat apsGasPipingRouteStat);
 
    /**
     * 新增气体管路产能负载统计
     * 
     * @param apsGasPipingRouteStat 气体管路产能负载统计
     * @return 结果
     */
    public int insertApsGasPipingRouteStat(ApsGasPipingRouteStat apsGasPipingRouteStat);
 
    /**
     * 修改气体管路产能负载统计
     * 
     * @param apsGasPipingRouteStat 气体管路产能负载统计
     * @return 结果
     */
    public int updateApsGasPipingRouteStat(ApsGasPipingRouteStat apsGasPipingRouteStat);
 
    /**
     * 删除气体管路产能负载统计
     * 
     * @param id 气体管路产能负载统计主键
     * @return 结果
     */
    public int deleteApsGasPipingRouteStatById(String id);
 
    /**
     * 批量删除气体管路产能负载统计
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteApsGasPipingRouteStatByIds(String[] ids);
 
    /**
     * 根据批次号删除数据
     * @param batchNumber
     * @return
     */
    public int deleteApsGasPipingRouteStatByBatchNum(String batchNumber);
 
    /**
     * 批量插入管路气柜产能数据
     * @param apsGasPipingRouteStatList
     * @return
     */
    public int insertApsGasPipingRouteStatBatch(List<ApsGasPipingRouteStat> apsGasPipingRouteStatList);
 
    List<ApsGasPipingRouteStat> queryTempStat();
    
    /**
     * 删除所有气体管路产能负载统计数据
     * 
     * @return 结果
     */
    public int deleteAll();
    
    /**
     * 联合查询手工气体预测数据相关信息
     * 
     * @return 手工气体预测数据及关联信息
     */
    public List<Map<String, Object>> selectPredictionRouteData();
    
    /**
     * 联合查询手工气体工单数据相关信息
     * 
     * @return 手工气体工单数据及关联信息
     */
    public List<Map<String, Object>> selectMoRouteData();
 
    /**
     * 根据时间维度聚合查询统计数据
     * 
     * @param params 查询参数,包含时间范围和过滤条件
     * @return 按工序名称和时间维度聚合的数据
     */
    public List<Map<String, Object>> selectAggregatedStatData(Map<String, Object> params);
 
    /**
     * 查询原始统计数据(不进行聚合)
     * 
     * @param params 查询参数
     * @return 原始统计数据列表
     */
    public List<Map<String, Object>> selectRawStatData(Map<String, Object> params);
 
    /**
     * 查询所有手工气体工单数据
     * 
     * @return 所有手工气体工单数据
     */
    public List<Map<String, Object>> selectAllMoData();
 
    /**
     * 查询基础统计数据(不包含时间限制)
     * 
     * @param params 查询参数(不包含时间范围参数)
     * @return 基础统计数据列表
     */
    public List<Map<String, Object>> selectBaseStatData(Map<String, Object> params);
}