From efec800478214f3a412f879d2b51c2968515995d Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期六, 25 十一月 2023 17:04:25 +0800
Subject: [PATCH] plc断开连接时获取工序最后一次报工数量作为加工数

---
 service/plc.go |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/service/plc.go b/service/plc.go
index e993d96..ac23286 100644
--- a/service/plc.go
+++ b/service/plc.go
@@ -204,12 +204,9 @@
 }
 
 func dealErr(err error) {
-	fmt.Println("deal err:", err)
 	if err != nil {
-		fmt.Println("deal err not nil:", err.Error())
 		FailureRemainingOpportunitiesDecr() //鍑忓皯澶辫触鍓╀綑鏈轰細
 	} else {
-		fmt.Println("deal err nil")
 		FailureRemainingOpportunitiesReset() //閲嶇疆澶辫触鍓╀綑鏈轰細
 	}
 }

--
Gitblit v1.8.0