package com.ruoyi.jt.service;
|
|
import java.util.List;
|
import com.ruoyi.jt.domain.JtDevice;
|
import org.yzh.web.model.entity.DeviceDO;
|
|
/**
|
* 终端Service接口
|
*
|
* @author ruoyi
|
* @date 2025-03-21
|
*/
|
public interface IJtDeviceService
|
{
|
/**
|
* 查询终端
|
*
|
* @param id 终端主键
|
* @return 终端
|
*/
|
public JtDevice selectJtDeviceById(Long id);
|
|
/**
|
* 查询终端列表
|
*
|
* @param jtDevice 终端
|
* @return 终端集合
|
*/
|
public List<JtDevice> selectJtDeviceList(JtDevice jtDevice);
|
|
/**
|
* 新增终端
|
*
|
* @param jtDevice 终端
|
* @return 结果
|
*/
|
public int insertJtDevice(JtDevice jtDevice);
|
|
/**
|
* 修改终端
|
*
|
* @param jtDevice 终端
|
* @return 结果
|
*/
|
public int updateJtDevice(JtDevice jtDevice);
|
|
/**
|
* 批量删除终端
|
*
|
* @param ids 需要删除的终端主键集合
|
* @return 结果
|
*/
|
public int deleteJtDeviceByIds(Long[] ids);
|
|
/**
|
* 删除终端信息
|
*
|
* @param id 终端主键
|
* @return 结果
|
*/
|
public int deleteJtDeviceById(Long id);
|
|
boolean isExistDevice(DeviceDO device);
|
}
|