package com.sooka.sponest.monitor.meiqiguan.gps.service;

import com.alibaba.fastjson.JSONObject;
import com.ruoyi.common.core.web.domain.AjaxResult;
import com.sooka.sponest.monitor.meiqiguan.gps.domain.GasTankHistoricalTrajectory;

import java.util.List;
import java.util.Map;


/**
 * 历史轨迹Service接口
 *
 * @author ruoyi
 * @date 2024-09-09
 */
public interface IGasTankHistoricalTrajectoryService {
    /**
     * 查询历史轨迹
     *
     * @param id 历史轨迹主键
     * @return 历史轨迹
     */
    public GasTankHistoricalTrajectory selectGasTankHistoricalTrajectoryById(Long id);

    /**
     * 查询历史轨迹列表
     *
     * @param gasTankHistoricalTrajectory 历史轨迹
     * @return 历史轨迹集合
     */
    public List<GasTankHistoricalTrajectory> selectGasTankHistoricalTrajectoryList(GasTankHistoricalTrajectory gasTankHistoricalTrajectory);

    /**
     * 新增历史轨迹
     *
     * @param gasTankHistoricalTrajectory 历史轨迹
     * @return 结果
     */
    public int insertGasTankHistoricalTrajectory(GasTankHistoricalTrajectory gasTankHistoricalTrajectory);

    /**
     * 修改历史轨迹
     *
     * @param gasTankHistoricalTrajectory 历史轨迹
     * @return 结果
     */
    public int updateGasTankHistoricalTrajectory(GasTankHistoricalTrajectory gasTankHistoricalTrajectory);

    /**
     * 批量删除历史轨迹
     *
     * @param ids 需要删除的历史轨迹主键集合
     * @return 结果
     */
    public int deleteGasTankHistoricalTrajectoryByIds(Long[] ids);

    /**
     * 删除历史轨迹信息
     *
     * @param id 历史轨迹主键
     * @return 结果
     */
    public int deleteGasTankHistoricalTrajectoryById(Long id);

    Map<String, List> selectGasTankHistoricalTrajectoryListByDeviceid(GasTankHistoricalTrajectory gasTankHistoricalTrajectory);

}
