ITGasStorageStationInfoService.java 2.07 KB
Newer Older
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
package com.zehong.system.service;

import com.zehong.system.domain.BaseInfoStatistics;
import com.zehong.system.domain.TGasStorageStationInfo;

import java.util.List;

/**
 * 储配站信息Service接口
 * 
 * @author zehong
 * @date 2023-08-14
 */
public interface ITGasStorageStationInfoService 
{
    /**
     * 查询储配站信息
     * 
     * @param stationId 储配站信息ID
     * @return 储配站信息
     */
    public TGasStorageStationInfo selectTGasStorageStationInfoById(Long stationId);

    /**
     * 查询储配站信息列表
     * 
     * @param tGasStorageStationInfo 储配站信息
     * @return 储配站信息集合
     */
    public List<TGasStorageStationInfo> selectTGasStorageStationInfoList(TGasStorageStationInfo tGasStorageStationInfo);

    /**
     * 新增储配站信息
     * 
     * @param tGasStorageStationInfo 储配站信息
     * @return 结果
     */
    public int insertTGasStorageStationInfo(TGasStorageStationInfo tGasStorageStationInfo);

    /**
     * 修改储配站信息
     * 
     * @param tGasStorageStationInfo 储配站信息
     * @return 结果
     */
    public int updateTGasStorageStationInfo(TGasStorageStationInfo tGasStorageStationInfo);

    /**
     * 批量删除储配站信息
     * 
     * @param stationIds 需要删除的储配站信息ID
     * @return 结果
     */
    public int deleteTGasStorageStationInfoByIds(Long[] stationIds);

    /**
     * 删除储配站信息信息
     * 
     * @param stationId 储配站信息ID
     * @return 结果
     */
    public int deleteTGasStorageStationInfoById(Long stationId);

    /**
     * 导入数据
     *
     * @param tGasStorageStationInfoList 数据列表
     * @param isUpdateSupport 是否更新支持,如果已存在,则进行更新数据
     * @return 结果
     */
    String importTGasStorageStationInfo(List<TGasStorageStationInfo> tGasStorageStationInfoList, Boolean isUpdateSupport);

    /**
     * 基础信息统计
     * @param stationId 储配站id
     * @return
     */
    List<BaseInfoStatistics> baseInfoStatistics(Long stationId);
}