package com.yeejoin.equipmanage.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.equipmanage.common.dto.EquiplistSpecificBySystemESVO;
import com.yeejoin.equipmanage.common.entity.EquipmentSpecificIndex;
import com.yeejoin.equipmanage.common.entity.dto.EquipmentAlarmLogDto;


/**
 * @description:
 * @author: tw
 * @createDate: 2023/3/13
 */
public interface IESeqService {

  //新增记录
  public EquiplistSpecificBySystemESVO saveESEquiplistSpecificBySystemESVO(EquipmentSpecificIndex equipmentSpecificIndex,String systemId,String systemName);

  //根据系统id分页查询
  public Page<EquipmentAlarmLogDto> findAllBySystemId(String systemId, Long startTime, Long endTime, int pageSize, int current );

  //删除数据距今一年前的数据。
  public void deleteESEquiplistSpecificBySystemES();
}
