You need to sign in or sign up before continuing.
Commit 4e88c15b by fz

1.添加时间触发条件日志

1 parent 404e0280
......@@ -222,10 +222,12 @@ public class SceneService {
try {
long dateConditionlong = df.parse(dateCondition).getTime();
long datenowlong = df.parse(datenow).getTime();
return ELogic.getDateByCode(Integer.valueOf(select), dateConditionlong, datenowlong);
boolean time_result = ELogic.getDateByCode(Integer.valueOf(select), dateConditionlong, datenowlong);
log.info("时间条件结果,select:"+select+"===time_condition:"+dateConditionlong+"===time_now:"+datenowlong+"===result:"+time_result);
return time_result;
} catch (ParseException e) {
e.printStackTrace();
log.info("时间解析异常===key:" + key + "===value:" + value + "===conditionType:" + conditionType);
log.info("时间解析异常===key:" + key + "===value:" + value + "===conditionType:" + conditionType +"===id:"+condition.getId());
return false;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!