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 selectDbBluetoothGatewayList(DbBluetoothGateway dbBluetoothGateway); /** * 查询蓝牙网关列表 * * @param subIds 实验室ids * @return 蓝牙网关集合 */ List 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); }