Преглед на файлове

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

miaolijing преди 2 години
родител
ревизия
337575cf77
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      src/main/java/com/persagy/apm/diagnose/service/EnergyAlarmServiceImpl.java

+ 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);
             }