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 | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/report/loop.go b/report/loop.go index 93c362b..4fddf91 100644 --- a/report/loop.go +++ b/report/loop.go @@ -2,9 +2,10 @@ import ( "context" + "time" + "kingdee-dbapi/config" "kingdee-dbapi/logger" - "time" ) var ctx context.Context @@ -37,7 +38,7 @@ // 娴嬭瘯鏌ヨ璇锋眰 //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) -- Gitblit v1.8.0