From ad1c4ff9255e1a19567a7df11231bc7173c21a81 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 21 十一月 2023 18:28:36 +0800
Subject: [PATCH] fix
---
crontask/cron_task.go | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/crontask/cron_task.go b/crontask/cron_task.go
index fa684d2..7ae210c 100644
--- a/crontask/cron_task.go
+++ b/crontask/cron_task.go
@@ -72,7 +72,6 @@
totalNumber := cast.ToInt64(value)
if totalNumber != 0 {
service.PlcCacheSet(addressItem.Channel, constvar.PlcCacheKeyTotalNumber, totalNumber)
- _ = service.NewProgressService().UpdateProgress(addressItem.Channel, cast.ToInt64(totalNumber))
}
logx.Infof("plc read total number: %v", totalNumber)
}
--
Gitblit v1.8.0