ITwinDeviceService.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. package com.ruoyi.biz.service;
  2. import com.ruoyi.biz.domain.TwinDevice;
  3. import java.util.List;
  4. /**
  5. * 设备管理Service接口
  6. *
  7. * @author ruoyi
  8. * @date 2024-05-19
  9. */
  10. public interface ITwinDeviceService {
  11. /**
  12. * 查询设备管理
  13. *
  14. * @param id 设备管理主键
  15. * @return 设备管理
  16. */
  17. public TwinDevice selectTwinDeviceById(Long id);
  18. /**
  19. * 查询设备管理列表
  20. *
  21. * @param twinDevice 设备管理
  22. * @return 设备管理集合
  23. */
  24. public List<TwinDevice> selectTwinDeviceList(TwinDevice twinDevice);
  25. /**
  26. * 新增设备管理
  27. *
  28. * @param twinDevice 设备管理
  29. * @return 结果
  30. */
  31. public int insertTwinDevice(TwinDevice twinDevice);
  32. /**
  33. * 修改设备管理
  34. *
  35. * @param twinDevice 设备管理
  36. * @return 结果
  37. */
  38. public int updateTwinDevice(TwinDevice twinDevice);
  39. /**
  40. * 批量删除设备管理
  41. *
  42. * @param ids 需要删除的设备管理主键集合
  43. * @return 结果
  44. */
  45. public int deleteTwinDeviceByIds(String ids);
  46. /**
  47. * 删除设备管理信息
  48. *
  49. * @param id 设备管理主键
  50. * @return 结果
  51. */
  52. public int deleteTwinDeviceById(Long id);
  53. /**
  54. * 通过设备编号查询设备
  55. *
  56. * @param code 设备编号
  57. * @return 设备信息
  58. */
  59. TwinDevice selectTwinDeviceByCode(String code);
  60. }