From 56cab641be7c6c0aaab0ae2ca7eeaee9be6d5a69 Mon Sep 17 00:00:00 2001 From: LiJinHuan <lijinhuan@prec-tech.com> Date: 星期五, 11 三月 2022 18:52:54 +0800 Subject: [PATCH] 【委托】【phase5上线课题132】-紧急-耗材ET展箱借用目的没有锁定已过期库存 --- force-app/main/default/classes/ConsumAutoSelectBatch.cls | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/force-app/main/default/classes/ConsumAutoSelectBatch.cls b/force-app/main/default/classes/ConsumAutoSelectBatch.cls index 58b7a42..8e37ca3 100644 --- a/force-app/main/default/classes/ConsumAutoSelectBatch.cls +++ b/force-app/main/default/classes/ConsumAutoSelectBatch.cls @@ -10,9 +10,11 @@ // 2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 start global ConsumAutoSelectBatch( ) { } - global ConsumAutoSelectBatch(Boolean NeedExecute) { - this.IsNeedExecute = NeedExecute; - } + // 20220309 ljh SFDC-CC73U5 132 鍔ㄧ墿瀹為獙&ET灞曠 閿佸畾宸茶繃鏈熷簱瀛� start + // global ConsumAutoSelectBatch(Boolean NeedExecute) { + // this.IsNeedExecute = NeedExecute; + // } + // 20220309 ljh SFDC-CC73U5 132 鍔ㄧ墿瀹為獙&ET灞曠 閿佸畾宸茶繃鏈熷簱瀛� end // 2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 end /** @@ -100,10 +102,10 @@ } //2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 start - if(!Test.isRunningTest() &&IsNeedExecute==true){ - //batch閲岃皟鐢ㄤ笅涓�涓猙atch鏃讹紝甯屾湜璺熷師鏈夌殑Schedule閲岄潰浼犵殑鏉℃暟淇濇寔涓�鑷� - Id execBTId = Database.executebatch(new SetOlympusCalendarWorkDayBatch(true),200); - } + // if(!Test.isRunningTest() &&IsNeedExecute==true){ + // //batch閲岃皟鐢ㄤ笅涓�涓猙atch鏃讹紝甯屾湜璺熷師鏈夌殑Schedule閲岄潰浼犵殑鏉℃暟淇濇寔涓�鑷� + // Id execBTId = Database.executebatch(new SetOlympusCalendarWorkDayBatch(true),200); + // } //2021-03-05 mzy WLIG-BYHD79 SFDC鐜batch鍚堝苟璋冩煡 end } -- Gitblit v1.9.1