fix:【iot】修复 scene_rule_ids 错误成 scene_rule_id
This commit is contained in:
parent
d592080f3f
commit
e7b0d4e86b
@ -33,7 +33,7 @@ public interface IotAlertConfigMapper extends BaseMapperX<IotAlertConfigDO> {
|
|||||||
default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) {
|
default List<IotAlertConfigDO> selectListBySceneRuleIdAndStatus(Long sceneRuleId, Integer status) {
|
||||||
return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>()
|
return selectList(new LambdaQueryWrapperX<IotAlertConfigDO>()
|
||||||
.eq(IotAlertConfigDO::getStatus, status)
|
.eq(IotAlertConfigDO::getStatus, status)
|
||||||
.apply(MyBatisUtils.findInSet("scene_rule_id", sceneRuleId)));
|
.apply(MyBatisUtils.findInSet("scene_rule_ids", sceneRuleId)));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user