From 823b027c0decb82043c6e39f2d6ef1bb020220b1 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 10 三月 2022 16:47:31 +0800
Subject: [PATCH] 最近一个月修改内容

---
 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