忽略租户

This commit is contained in:
liuyusheng 2024-10-14 15:30:15 +08:00
parent 87f76067f7
commit 658e7ba04a

View File

@ -2,6 +2,7 @@ package com.inspur.module.system.api.alarm;
import com.inspur.framework.common.util.json.JsonUtils;
import com.inspur.framework.common.util.object.BeanUtils;
import com.inspur.framework.tenant.core.aop.TenantIgnore;
import com.inspur.module.system.api.alarm.dto.AlarmRulesRespDTO;
import com.inspur.module.system.constant.EquipAyalyzeStatusConstant;
import com.inspur.module.system.constant.JudgeConstant;
@ -50,6 +51,7 @@ public class AlarmRulesApiImpl implements AlarmRulesApi{
private EquipInfoService equipInfoService;
@Override
@TenantIgnore
public List<AlarmRulesRespDTO> selectAlarmRulesListByCatch(String equipId) {
List<AlarmRulesRespDTO> alarmRules = JsonUtils.parseArray(stringRedisTemplate.opsForValue().get(equipId),AlarmRulesRespDTO.class);
if(alarmRules == null || alarmRules.size() == 0){