Commit 0485a139 by fz

1.时间触发条件值也统一转为json获取

1 parent 943921c3
......@@ -212,6 +212,8 @@ public class SceneService {
//当前时间
String begintTimeStr = DateUtils.getDate(new Date(rangeBegintTime), "HH:mm");
//开始时间+预处理时间范围(可在配置中心修改)
log.info("fz===time:"+time+"===nowtime:"+begintTimeStr);
boolean flag = time.equals(begintTimeStr) ;
return flag;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!