Commit 404e0280 by fz

1.添加时间触发条件select为空的判断处理

1 parent 27cfc60f
...@@ -209,6 +209,11 @@ public class SceneService { ...@@ -209,6 +209,11 @@ public class SceneService {
//触发规则,逻辑(1:<,2:>,3:=) //触发规则,逻辑(1:<,2:>,3:=)
String select = paramValue.getSelect(); String select = paramValue.getSelect();
if (StringUtils.isBlank(select)) {
log.info("时间条件select不能为空===conditionType:" + conditionType+"===ID:"+condition.getId());
return false;
}
//现在的时间 //现在的时间
String datenow = DateUtils.getDate(new Date(rangeBegintTime), "HH:mm"); String datenow = DateUtils.getDate(new Date(rangeBegintTime), "HH:mm");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!