소스 검색

修改字段获取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));