62 lines
1.2 KiB
Java
62 lines
1.2 KiB
Java
|
package com.ruoyi.device.mapper;
|
||
|
|
||
|
import java.util.List;
|
||
|
import com.ruoyi.device.domain.AsDevice;
|
||
|
|
||
|
/**
|
||
|
* 设备列表Mapper接口
|
||
|
*
|
||
|
* @author 邱贞招
|
||
|
* @date 2023-11-11
|
||
|
*/
|
||
|
public interface AsDeviceMapper
|
||
|
{
|
||
|
/**
|
||
|
* 查询设备列表
|
||
|
*
|
||
|
* @param deviceId 设备列表主键
|
||
|
* @return 设备列表
|
||
|
*/
|
||
|
public AsDevice selectAsDeviceByDeviceId(Long deviceId);
|
||
|
|
||
|
/**
|
||
|
* 查询设备列表列表
|
||
|
*
|
||
|
* @param asDevice 设备列表
|
||
|
* @return 设备列表集合
|
||
|
*/
|
||
|
public List<AsDevice> selectAsDeviceList(AsDevice asDevice);
|
||
|
|
||
|
/**
|
||
|
* 新增设备列表
|
||
|
*
|
||
|
* @param asDevice 设备列表
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int insertAsDevice(AsDevice asDevice);
|
||
|
|
||
|
/**
|
||
|
* 修改设备列表
|
||
|
*
|
||
|
* @param asDevice 设备列表
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int updateAsDevice(AsDevice asDevice);
|
||
|
|
||
|
/**
|
||
|
* 删除设备列表
|
||
|
*
|
||
|
* @param deviceId 设备列表主键
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int deleteAsDeviceByDeviceId(Long deviceId);
|
||
|
|
||
|
/**
|
||
|
* 批量删除设备列表
|
||
|
*
|
||
|
* @param deviceIds 需要删除的数据主键集合
|
||
|
* @return 结果
|
||
|
*/
|
||
|
public int deleteAsDeviceByDeviceIds(Long[] deviceIds);
|
||
|
}
|