53 lines
1.0 KiB
Java
53 lines
1.0 KiB
Java
package com.whdc.zhdbaqapi.service;
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import com.whdc.zhdbaqapi.model.dto.FindDeviceDto;
|
|
import com.whdc.zhdbaqapi.model.entity.DeviceInfo;
|
|
import com.whdc.zhdbaqapi.model.vo.DeviceInfoImpVo;
|
|
|
|
import java.io.InputStream;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author 李赛
|
|
* @date 2022-07-21 23:47
|
|
*/
|
|
public interface IDeviceInfoService extends IService<DeviceInfo> {
|
|
|
|
DeviceInfo get(Integer id);
|
|
|
|
/**
|
|
* 恢复
|
|
*
|
|
* @param id
|
|
* @return
|
|
*/
|
|
boolean restore(Integer id);
|
|
|
|
/**
|
|
* 返回查询
|
|
*
|
|
* @return
|
|
*/
|
|
List<DeviceInfo> list(String stationCode);
|
|
|
|
List<DeviceInfo> listAll();
|
|
|
|
/**
|
|
* 分页查询
|
|
*
|
|
* @param findDto
|
|
* @return
|
|
*/
|
|
IPage<DeviceInfo> page(FindDeviceDto findDto);
|
|
|
|
/**
|
|
* 导入
|
|
*
|
|
* @param file
|
|
* @return
|
|
*/
|
|
DeviceInfoImpVo imp(InputStream file);
|
|
}
|