| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- package com.ruoyi.biz.service;
- import com.ruoyi.biz.domain.TwinDevice;
- import java.util.List;
- /**
- * 设备管理Service接口
- *
- * @author ruoyi
- * @date 2024-05-19
- */
- public interface ITwinDeviceService {
- /**
- * 查询设备管理
- *
- * @param id 设备管理主键
- * @return 设备管理
- */
- public TwinDevice selectTwinDeviceById(Long id);
- /**
- * 查询设备管理列表
- *
- * @param twinDevice 设备管理
- * @return 设备管理集合
- */
- public List<TwinDevice> selectTwinDeviceList(TwinDevice twinDevice);
- /**
- * 新增设备管理
- *
- * @param twinDevice 设备管理
- * @return 结果
- */
- public int insertTwinDevice(TwinDevice twinDevice);
- /**
- * 修改设备管理
- *
- * @param twinDevice 设备管理
- * @return 结果
- */
- public int updateTwinDevice(TwinDevice twinDevice);
- /**
- * 批量删除设备管理
- *
- * @param ids 需要删除的设备管理主键集合
- * @return 结果
- */
- public int deleteTwinDeviceByIds(String ids);
- /**
- * 删除设备管理信息
- *
- * @param id 设备管理主键
- * @return 结果
- */
- public int deleteTwinDeviceById(Long id);
- /**
- * 通过设备编号查询设备
- *
- * @param code 设备编号
- * @return 设备信息
- */
- TwinDevice selectTwinDeviceByCode(String code);
- }
|