|
|
@@ -146,6 +146,7 @@ func (w *WeatherSceneService) checkWeatherCondition(config WeatherSceneConfig) (
|
|
|
}
|
|
|
results = append(results, utils.CheckValue(condition.TargetValue, weatherInfo[condition.Field], condition.FieldType, condition.Operator))
|
|
|
}
|
|
|
+ fmt.Printf("decisionExpr----:%s,results:-------%v", config.DecisionExpr, results)
|
|
|
switch config.DecisionExpr {
|
|
|
case "and":
|
|
|
for _, v := range results {
|