From cb4bae31a02af72fea30e1a57c1d498eabef5d01 Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期四, 16 三月 2023 10:17:12 +0800
Subject: [PATCH] 同步代码

---
 force-app/main/default/classes/LostCancelReportHandler.cls |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/classes/LostCancelReportHandler.cls b/force-app/main/default/classes/LostCancelReportHandler.cls
index bfdf8a2..a864cd5 100644
--- a/force-app/main/default/classes/LostCancelReportHandler.cls
+++ b/force-app/main/default/classes/LostCancelReportHandler.cls
@@ -322,10 +322,19 @@
                     // }
                     //澶卞崟鎬婚噾棰�
                     //opp.LostPrices__c=lcr.PCLLostBrand__r.Lost_cancel_report__r.LostTotalAmount__c;//20230215 lt DB202302247719 娉ㄩ噴
-                    opp.LostPrices__c=lcr.PCLLostBrand__r.Lost_cancel_report__r.TotalAmountLost__c;   //20230215 lt DB202302247719
+                    // opp.LostPrices__c=lcr.PCLLostBrand__r.Lost_cancel_report__r.TotalAmountLost__c;   //20230215 lt DB202302247719
                     opp.of_lost_system_processor__c=lcr.PCLLostBrand__r.Lost_cancel_report__r.of_lost_system_processor__c;
                 }
             }
+            //20230215 lt DB202302247719 start
+            if(arrMap.get(lcro).TotalAmountLost__c != null){
+                if(opp.LostPrices__c == null){
+                    opp.LostPrices__c = 0;
+                }
+                opp.LostPrices__c+=arrMap.get(lcro).TotalAmountLost__c;
+            }
+            //20230215 lt DB202302247719 end
+
             // 20221202 ljh DB202211594688  start
             System.debug('zheli00:'+oppIdPZSet+'~'+opp.Id);
             if(oppIdPZSet.contains(opp.Id)){

--
Gitblit v1.9.1