hsy
6 天以前 bb0b80bd7ca7c1f979ab0125ae01f3faa1d14f4b
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/mysql/alert/IotAlertConfigMapper.java
@@ -13,7 +13,7 @@
/**
 * IoT 告警配置 Mapper
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Mapper
public interface IotAlertConfigMapper extends BaseMapperX<IotAlertConfigDO> {
@@ -33,7 +33,7 @@
    default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) {
        return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>()
                .eq(IotAlertConfigDO::getStatus, status)
                .apply(MyBatisUtils.findInSet("scene_rule_ids", sceneRuleId)));
                .apply(MyBatisUtils.findInSet("scene_rule_ids"), sceneRuleId));
    }
}
}