From e1928eff37b01afcdfd5456944bb3b15d09e3258 Mon Sep 17 00:00:00 2001
From: GWY <guweiyiscp096@foxmail.com>
Date: 星期四, 10 三月 2022 17:44:09 +0800
Subject: [PATCH] 111
---
force-app/main/default/classes/RadiationUtil.cls | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/RadiationUtil.cls b/force-app/main/default/classes/RadiationUtil.cls
index e39f810..cfd9051 100644
--- a/force-app/main/default/classes/RadiationUtil.cls
+++ b/force-app/main/default/classes/RadiationUtil.cls
@@ -1,5 +1,7 @@
global class RadiationUtil {
+ public static Boolean oldOrder = false;
+
public static Boolean EscapeOrderTriggerHandler = true;
/**
* [updateRadiationTypeQuantity description]鏇存柊浠g悊鍟嗚瘉鐓ф槑缁嗭紝鏇存柊濂ユ灄宸存柉浠g悊鍟嗙殑璇佺収鏄庣粏
@@ -10,7 +12,8 @@
*/
public static void updateRadiationTypeQuantity (String Id, String orderFounder, String dealerId, Boolean toloseFlag, String operationType, String operator) {
- String olympusAccountId = System.label.Olympus_Id;
+
+ String olympusAccountId = oldOrder ? System.label.Olympus_Id : System.label.newOlympus_Id;
String orderId = Id;
//鑾峰彇鍚堝悓鐨勮緪灏勭被鍨嬪拰鏁伴噺
--
Gitblit v1.9.1