| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- package com.zd.airbottle.mapper;
- import com.zd.airbottle.domain.DbBluetoothGateway;
- import java.util.List;
- /**
- * Controller
- *
- * @author cyl
- * @date 2023/10/16
- */
- public interface DbBluetoothGatewayMapper {
- /**
- * 查询蓝牙网关列表
- *
- * @param dbBluetoothGateway 蓝牙网关
- * @return 蓝牙网关集合
- */
- List <DbBluetoothGateway> selectDbBluetoothGatewayList(DbBluetoothGateway dbBluetoothGateway);
- /**
- * 查询蓝牙网关列表
- *
- * @param subIds 实验室ids
- * @return 蓝牙网关集合
- */
- List <DbBluetoothGateway> getBluetoothBySubIds(Long[] subIds);
- /**
- * 查询蓝牙网关信息
- *
- * @param id 蓝牙网关id
- * @return 蓝牙网关信息
- */
- DbBluetoothGateway selectDbBluetoothGatewayById(Long id);
- /**
- * 新增蓝牙网关信息
- *
- * @param dbBluetoothGateway 蓝牙网关
- * @return 是否成功
- */
- int insertDbBluetoothGateway(DbBluetoothGateway dbBluetoothGateway);
- /**
- * 修改蓝牙网关信息
- *
- * @param dbBluetoothGateway 蓝牙网关
- * @return 是否成功
- */
- int updateDbBluetoothGateway(DbBluetoothGateway dbBluetoothGateway);
- /**
- * 删除蓝牙网关
- *
- * @param ids 蓝牙网关
- * @return 是否成功
- */
- int deleteeDbBluetoothGatewayByIds(Long[] ids);
- /**
- * 修改蓝牙网关在线离线
- *
- * @param dbBluetoothGateway 蓝牙网关
- * @return 是否成功
- */
- int setOnline(DbBluetoothGateway dbBluetoothGateway);
- }
|