From e289ca4fcb8442c5b04954389cfea0092024958d Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 27 三月 2026 17:08:45 +0800
Subject: [PATCH] 上模单、下模单、模具保养记录单、模具点检记录单、 模具故障登记单、模具维修派工单、模具维修记录单、模具维修验收单  增加系统参数   判断是否自动审核

---
 WebAPI/Service/GeTuiService.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/WebAPI/Service/GeTuiService.cs b/WebAPI/Service/GeTuiService.cs
index 5a3a75d..865fa0d 100644
--- a/WebAPI/Service/GeTuiService.cs
+++ b/WebAPI/Service/GeTuiService.cs
@@ -56,7 +56,7 @@
                                    a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, a.HCloseMan AS 鍏抽棴浜�, 
                                    a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡, a.HBillType
                     from OA_WorkLinkBillMain a where HInterID = {HInterID}
-                    select * from Gy_UserClientIdRelation
+                    select * from Gy_UserClientIdRelation where HOnline = 1
                 ", "OA_WorkLinkBillMain");
                 NotificationTemplate template = null;
                 ConcurrentDictionary<string, List<string>> userClientIDDictionary = new ConcurrentDictionary<string, List<string>>();
@@ -91,7 +91,7 @@
                              {
                                 // 鑾峰彇鎺ユ敹浜哄拰鎶勯�佷汉鏁扮粍
                                 string HReceiveMan = ds.Tables[0].Rows[0]["鎺ユ敹浜�"].ToString();
-                                string[] HCopyManList = ds.Tables[0].Rows[0]["鎶勯�佷汉"].ToString().Split(',');
+                                string[] HCopyManList = ds.Tables[0].Rows[0]["鎵�鏈夋妱閫佷汉"].ToString().Split(',');
                                 // 鎺ㄩ�佺粰鎺ユ敹浜� 鍜� 鎶勯�佷汉
 
                                 List<string> clientIDList = new List<string>();
@@ -112,7 +112,6 @@
                                         clientIDList.AddRange(userClientIDDictionary[HCopyMan]);
                                     }
                                 }
-
                                 foreach(string clientID in clientIDList)
                                 {
                                     pushSuccess = PushMessageToSingle(template, clientID);
@@ -207,6 +206,9 @@
                 LogService.Write("-----------------------------------------------");
                 LogService.Write("-----------------------------------------------");
                 LogService.Write("----------------鏈嶅姟绔繑鍥炵粨鏋滐細" + pushResult);
+
+                //TODO: 褰撻敊璇俊鎭樉绀鸿澶囩绾挎椂锛屽皢褰撳墠璁惧UUID缁戝畾鐨勭敤鎴风櫥褰曠姸鎬侀厤缃负鏈櫥褰�
+
                 return false;  
             }
         }

--
Gitblit v1.9.1