From 72c0e1a3457d8b43c5eefe4e6d4dd0ef9bc0b2ee Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 24 十月 2025 09:46:35 +0800
Subject: [PATCH] 增加app模具选着保养规程或点检规程自动带出子表信息方法,增加客户物料对应表接口字段商品idHSupID

---
 NETERPNoWin/Program.cs |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/NETERPNoWin/Program.cs b/NETERPNoWin/Program.cs
index 4fe6a38..77311bb 100644
--- a/NETERPNoWin/Program.cs
+++ b/NETERPNoWin/Program.cs
@@ -25,10 +25,12 @@
             {
                 if (DBUtility.ClsPub.CheckUpdate())
                 {
-                    string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe";
-                    System.Diagnostics.Process.Start(strFileName);
-                    Application.Exit();
-                    return;
+                    //string strFileName = DBUtility.ClsPub.AppPath + @"\HX_Update.exe";
+                    //System.Diagnostics.Process.Start(strFileName);
+                    //Application.Exit();
+                    //return;
+                    MESMain oMESMain = new MESMain();
+                    Application.Run(oMESMain);
                 }
                 else
                 {

--
Gitblit v1.9.1