浏览代码

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

YunaiV 9 月之前
父节点
当前提交
e7b0d4e86b

+ 1 - 1
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/mysql/alert/IotAlertConfigMapper.java

@@ -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)));
     }
 
 }