|
@@ -504,8 +504,8 @@ public class RuleGroupServiceImpl extends ServiceImpl<RuleGroupMapper, RuleGroup
|
|
|
//后续 操作阈值
|
|
|
String operationThreshold = thresholdJson.getString("operationThreshold");
|
|
|
//峰值
|
|
|
- String maxValue = thresholdJson.getString("maxValue");
|
|
|
- String minValue = thresholdJson.getString("minValue");
|
|
|
+ String maxValue = Check.isNull(thresholdJson.getString("maxValue"))?"-1":thresholdJson.getString("maxValue");
|
|
|
+ String minValue = Check.isNull(thresholdJson.getString("minValue"))?"-1":thresholdJson.getString("minValue");
|
|
|
|
|
|
if (type == 1 || type == 3) {
|
|
|
Long planId = obj.getLong("planId");//头条
|