package com.aps.core.service;
|
|
import com.alibaba.fastjson2.JSONObject;
|
import com.aps.core.domain.ApsGasPipingRouteStat;
|
import jakarta.servlet.http.HttpServletResponse;
|
import org.springframework.transaction.annotation.Transactional;
|
|
import java.util.List;
|
|
/**
|
* 气体管路产能负载统计Service接口
|
*
|
* @author hjy
|
* @date 2025-04-24
|
*/
|
public interface IApsGasPipingRouteStatService
|
{
|
/**
|
* 查询气体管路产能负载统计
|
*
|
* @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 ids 需要删除的气体管路产能负载统计主键集合
|
* @return 结果
|
*/
|
public int deleteApsGasPipingRouteStatByIds(String[] ids);
|
|
/**
|
* 删除气体管路产能负载统计信息
|
*
|
* @param id 气体管路产能负载统计主键
|
* @return 结果
|
*/
|
public int deleteApsGasPipingRouteStatById(String id);
|
|
/**
|
* 计算产能数据到底表
|
* @param yearMonth
|
* @return
|
*/
|
boolean computeCapacity();
|
|
/**
|
* 获取产能计划数据
|
* @param year
|
* @param month
|
* @return
|
*/
|
public JSONObject getCapacityPlanData(ApsGasPipingRouteStat apsGasPipingRouteStat);
|
|
/**
|
* 导出数据
|
* @param response
|
*/
|
public void exportExcel(HttpServletResponse response, ApsGasPipingRouteStat apsGasPipingRouteStat);
|
|
void saveGasPipingProcessStat();
|
|
@Transactional
|
void saveGasPipingRoutStateList();
|
}
|