Commit e7b0d4e86bf4334cc76d2ede65280f00181dddc3

Authored by YunaiV
1 parent d592080f

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

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> { @@ -33,7 +33,7 @@ public interface IotAlertConfigMapper extends BaseMapperX<IotAlertConfigDO> {
33 default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) { 33 default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) {
34 return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>() 34 return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>()
35 .eq(IotAlertConfigDO::getStatus, status) 35 .eq(IotAlertConfigDO::getStatus, status)
36 - .apply(MyBatisUtils.findInSet("scene_rule_id", sceneRuleId))); 36 + .apply(MyBatisUtils.findInSet("scene_rule_ids", sceneRuleId)));
37 } 37 }
38 38
39 } 39 }
40 \ No newline at end of file 40 \ No newline at end of file