package com.ruoyi.jt.mapper;
|
|
import java.util.List;
|
import com.ruoyi.jt.domain.JtDevice;
|
|
/**
|
* 设备Mapper接口
|
*
|
* @author ruoyi
|
* @date 2025-03-26
|
*/
|
public interface JtDeviceMapper
|
{
|
/**
|
* 查询设备
|
*
|
* @param id 设备主键
|
* @return 设备
|
*/
|
public JtDevice selectJtDeviceById(Long id);
|
/**
|
* 按电话号查询终端
|
*
|
* @param clientId 电话号
|
* @return 终端
|
*/
|
public JtDevice selectJtDeviceByClientId(String clientId);
|
/**
|
* 查询设备列表
|
*
|
* @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 id 设备主键
|
* @return 结果
|
*/
|
public int deleteJtDeviceById(Long id);
|
|
/**
|
* 批量删除设备
|
*
|
* @param ids 需要删除的数据主键集合
|
* @return 结果
|
*/
|
public int deleteJtDeviceByIds(Long[] ids);
|
}
|