From 74b51d7b71fa71788754285691ecbaf5d34f7d70 Mon Sep 17 00:00:00 2001 From: panlei <2799247126@qq.com> Date: 星期六, 16 十一月 2019 11:57:39 +0800 Subject: [PATCH] 为数据写入当前规则处理时间 --- algorithm/static/static.go | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/algorithm/static/static.go b/algorithm/static/static.go index f5faa99..282a506 100644 --- a/algorithm/static/static.go +++ b/algorithm/static/static.go @@ -223,11 +223,14 @@ if tar.N == 0 && tar.AlarmFlag { logger.Debug("-------------------------绗﹀悎鎸佺画鏃堕棿瑙勫垯浣嗗苟涓嶆槸棣栨锛屼笉鎶ヨ") flagTime = "11" + o.TimeLable = flagTime + o.CacheData = tar.CacheSdkData } if tar.N == 0 && !tar.AlarmFlag { // 杩欑粍瑙勫垯鐨勫畾鏃跺櫒瑕佸叏閮ㄧ瓑浜�0 鏆備笖璁や负涓�缁勮鍒欏彧鏈変竴涓畾鏃跺櫒 logger.Debug("鈥斺�斺�斺�斺�斺�斺�斺�斺�斺�斺��-------------棣栨绗﹀悎鎸佺画鏃堕棿瑙勫垯骞舵姤璀�") flagTime = "10" tar.AlarmFlag = true + o.TimeLable = flagTime o.CacheData = tar.CacheSdkData } if tar.N != 0 { -- Gitblit v1.8.0