DbBluetoothGatewayMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. package com.zd.airbottle.mapper;
  2. import com.zd.airbottle.domain.DbBluetoothGateway;
  3. import java.util.List;
  4. /**
  5. * Controller
  6. *
  7. * @author cyl
  8. * @date 2023/10/16
  9. */
  10. public interface DbBluetoothGatewayMapper {
  11. /**
  12. * 查询蓝牙网关列表
  13. *
  14. * @param dbBluetoothGateway 蓝牙网关
  15. * @return 蓝牙网关集合
  16. */
  17. List <DbBluetoothGateway> selectDbBluetoothGatewayList(DbBluetoothGateway dbBluetoothGateway);
  18. /**
  19. * 查询蓝牙网关列表
  20. *
  21. * @param subIds 实验室ids
  22. * @return 蓝牙网关集合
  23. */
  24. List <DbBluetoothGateway> getBluetoothBySubIds(Long[] subIds);
  25. /**
  26. * 查询蓝牙网关信息
  27. *
  28. * @param id 蓝牙网关id
  29. * @return 蓝牙网关信息
  30. */
  31. DbBluetoothGateway selectDbBluetoothGatewayById(Long id);
  32. /**
  33. * 新增蓝牙网关信息
  34. *
  35. * @param dbBluetoothGateway 蓝牙网关
  36. * @return 是否成功
  37. */
  38. int insertDbBluetoothGateway(DbBluetoothGateway dbBluetoothGateway);
  39. /**
  40. * 修改蓝牙网关信息
  41. *
  42. * @param dbBluetoothGateway 蓝牙网关
  43. * @return 是否成功
  44. */
  45. int updateDbBluetoothGateway(DbBluetoothGateway dbBluetoothGateway);
  46. /**
  47. * 删除蓝牙网关
  48. *
  49. * @param ids 蓝牙网关
  50. * @return 是否成功
  51. */
  52. int deleteeDbBluetoothGatewayByIds(Long[] ids);
  53. /**
  54. * 修改蓝牙网关在线离线
  55. *
  56. * @param dbBluetoothGateway 蓝牙网关
  57. * @return 是否成功
  58. */
  59. int setOnline(DbBluetoothGateway dbBluetoothGateway);
  60. }