From 218131c80ef5d3f11345dc78d170cfa3a6babb0f Mon Sep 17 00:00:00 2001
From: Ben Lin <maobin001@msn.com>
Date: 星期日, 09 三月 2025 01:53:32 +0800
Subject: [PATCH] 雅达-添加调入单、杂收单和形态转换单审核功能

---
 Tiger.Business.MES/Task/Jobs.U9C_ME_GetCustomer.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tiger.Business.MES/Task/Jobs.U9C_ME_GetCustomer.cs b/Tiger.Business.MES/Task/Jobs.U9C_ME_GetCustomer.cs
index f9c9a72..301a957 100644
--- a/Tiger.Business.MES/Task/Jobs.U9C_ME_GetCustomer.cs
+++ b/Tiger.Business.MES/Task/Jobs.U9C_ME_GetCustomer.cs
@@ -40,7 +40,7 @@
                 string msg = "";
                 string status = "Successed";
                 GetJob(typeof(U9C_MES_GetCustomer).Name);
-                TskJobInput tskJobInput = CheckIFCanGo();
+                TskJobInput tskJobInput = CheckHowToDo();
                 if (tskJobInput.result)
                 {
                     var result = DI.Resolve<IU9C_MES>().GetCustomer(tskJobInput.input);
@@ -54,7 +54,7 @@
                     {
                         msg = $"浠嶶9C鑾峰彇瀹㈡埛淇℃伅鎴愬姛:{result.Message}";
                         //鍥哄畾鍐欐硶
-                        Trig.LastRunTime = tskJobInput.input.endTime.ToDateTime();
+                        Trig.LastRunTime = Args.ByInterval == "Y" ? tskJobInput.input.endTime.ToDateTime().AddHours(Args.Interval) : tskJobInput.input.endTime.ToDateTime();
                         Trig.NextRunTime = Schedule.NextRun;
                     }
                 }

--
Gitblit v1.9.3