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

修改字段获取get方法异常

syh преди 4 години
родител
ревизия
ed028ea6e6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      module-alarm/src/main/java/cn/com/ctop/alarm/modules/service/impl/RuleTemplateServiceImpl.java

+ 1 - 1
module-alarm/src/main/java/cn/com/ctop/alarm/modules/service/impl/RuleTemplateServiceImpl.java

@@ -307,7 +307,7 @@ public class RuleTemplateServiceImpl extends ServiceImpl<RuleTemplateMapper, Rul
                 accountThresholdQueryWrapper.eq("rule_id", ruleId);
                 RuleAccountThreshold threshold = accountThresholdService.getOne(accountThresholdQueryWrapper);
                 if (!Check.isNull(threshold)) {
-                    String value = threshold.getThreshoId();
+                    String value = threshold.getThreshold();
                     if (!Check.isNull(value)) {
                         if (value.contains("[") && value.contains("]")) {
                             ruleJson.put("threshold", JSONArray.parseArray(value));