Browse Source

去除获取报警规则日志打印

miaolijing 2 years ago
parent
commit
337575cf77

+ 2 - 2
src/main/java/com/persagy/apm/diagnose/service/EnergyAlarmServiceImpl.java

@@ -196,9 +196,9 @@ public class EnergyAlarmServiceImpl {
                 alarmRuleDTO.setPd("asdasdasda");
                 alarmRuleDTO.setUserId("test");
                 alarmRuleDTO.setAlarmItemCode(code);
-                log.error("集团编码{}项目编码{}报警Code编码{}查询报警规则入参{}",projectDTO.getGroupCode(),projectDTO.getProjectId(),code,alarmRuleDTO);
+//                log.error("集团编码{}项目编码{}报警Code编码{}查询报警规则入参{}",projectDTO.getGroupCode(),projectDTO.getProjectId(),code,alarmRuleDTO);
                 AlarmResult<JSONObject> result = alarmServiceClient.queryProjectAlarmRules(alarmRuleDTO);
-                log.error("集团编码{}项目编码{}报警Code编码{}查询报警规则返回{}",projectDTO.getGroupCode(),projectDTO.getProjectId(),code,result);
+//                log.error("集团编码{}项目编码{}报警Code编码{}查询报警规则返回{}",projectDTO.getGroupCode(),projectDTO.getProjectId(),code,result);
                 List<AlarmRuleDTO> alarmRuleDTOList =  AlarmResultUtil.getRecords(result, AlarmRuleDTO.class);
                 allAlarmRuleDTOList.addAll(alarmRuleDTOList);
             }