fix:【iot】修复 scene_rule_ids 错误成 scene_rule_id

This commit is contained in:
YunaiV
2025-11-21 22:14:32 +08:00
parent d592080f3f
commit e7b0d4e86b

View File

@@ -33,7 +33,7 @@ public interface IotAlertConfigMapper extends BaseMapperX<IotAlertConfigDO> {
default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) {
return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>()
.eq(IotAlertConfigDO::getStatus, status)
.apply(MyBatisUtils.findInSet("scene_rule_id", sceneRuleId)));
.apply(MyBatisUtils.findInSet("scene_rule_ids", sceneRuleId)));
}
}