Compare commits
2 Commits
69857f25e6
...
eb04363076
Author | SHA1 | Date | |
---|---|---|---|
eb04363076 | |||
658e7ba04a |
@ -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.json.JsonUtils;
|
||||||
import com.inspur.framework.common.util.object.BeanUtils;
|
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.api.alarm.dto.AlarmRulesRespDTO;
|
||||||
import com.inspur.module.system.constant.EquipAyalyzeStatusConstant;
|
import com.inspur.module.system.constant.EquipAyalyzeStatusConstant;
|
||||||
import com.inspur.module.system.constant.JudgeConstant;
|
import com.inspur.module.system.constant.JudgeConstant;
|
||||||
@ -50,6 +51,7 @@ public class AlarmRulesApiImpl implements AlarmRulesApi{
|
|||||||
private EquipInfoService equipInfoService;
|
private EquipInfoService equipInfoService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantIgnore
|
||||||
public List<AlarmRulesRespDTO> selectAlarmRulesListByCatch(String equipId) {
|
public List<AlarmRulesRespDTO> selectAlarmRulesListByCatch(String equipId) {
|
||||||
List<AlarmRulesRespDTO> alarmRules = JsonUtils.parseArray(stringRedisTemplate.opsForValue().get(equipId),AlarmRulesRespDTO.class);
|
List<AlarmRulesRespDTO> alarmRules = JsonUtils.parseArray(stringRedisTemplate.opsForValue().get(equipId),AlarmRulesRespDTO.class);
|
||||||
if(alarmRules == null || alarmRules.size() == 0){
|
if(alarmRules == null || alarmRules.size() == 0){
|
||||||
|
Loading…
Reference in New Issue
Block a user