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);
|
}
|