From 1bed0e1cecc21294580e3447516a90d4b3e270a7 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 29 六月 2023 19:47:08 +0800
Subject: [PATCH] 生产任务单响应添加物料编号

---
 report/loop.go |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/report/loop.go b/report/loop.go
index b2dbff3..4fddf91 100644
--- a/report/loop.go
+++ b/report/loop.go
@@ -2,6 +2,9 @@
 
 import (
 	"context"
+	"time"
+
+	"kingdee-dbapi/config"
 	"kingdee-dbapi/logger"
 )
 
@@ -35,10 +38,10 @@
 
 			// 娴嬭瘯鏌ヨ璇锋眰
 			//sql := []byte("select * from t_icitem where FItemID=3316")
-			//ok := nsqclient.Produce(config.Options.QueryTopic, sql)
+			//ok := nsqclient.Produce(config.Options.SqlQueryTopic, sql)
 			//logger.Debug("娴嬭瘯璇锋眰鎺ュ彛, %v", ok)
-			//
-			//time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second)
+
+			time.Sleep(time.Duration(config.Options.SyncInterval) * time.Second)
 		}
 	}
 }

--
Gitblit v1.8.0