From 756e6c531d49a4565e47949120cb33bae431566e Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期四, 24 四月 2025 09:45:22 +0800 Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024 --- 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