From 7f68ed6f7658db35544204ab5dcf6a3800e1b756 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期二, 22 三月 2022 17:49:57 +0800
Subject: [PATCH] Merge branch 'master' of http://47.92.229.245:8089/r/OlyMEBG

---
 force-app/main/default/classes/NFM624Rest.cls |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/force-app/main/default/classes/NFM624Rest.cls b/force-app/main/default/classes/NFM624Rest.cls
index 9ccbc47..e1cb52f 100644
--- a/force-app/main/default/classes/NFM624Rest.cls
+++ b/force-app/main/default/classes/NFM624Rest.cls
@@ -228,6 +228,8 @@
                                                       AccountId 
                                                       from Contact 
                                                       where CManageCode__c IN: PersonManagementCodeList 
+                                                      OR Account.PlatformCode__c IN: ManagementList
+                                                      OR Account.Management_Code__c IN: SFDCCodeList
                                                       OR Account.Parent_PlatformCode__c IN: ManagementList 
                                                       OR Account.Parent_Management_Code__c IN: SFDCCodeList]; //鏍规嵁浜哄憳绠$悊缂栫爜妫�绱㈣仈绯讳汉
                 Map < String, Contact > peopleMap = new Map < String, Contact > (); //鑱旂郴浜�
@@ -509,6 +511,8 @@
                                         //鍥犱负娌℃湁鍖婚櫌绠$悊缂栫爜锛屾棤娉曟绱㈠埌鎴樼暐绉戝锛屾墍浠ュ湪缁欑瀹ょ殑鎴樼暐绉戝瀛楁璧嬪�兼椂绌烘寚閽�
                                         //dpt.Department_Class__c = DepartmentClassMap.get(gedata.DepartmentClass).Id;
                                         //dpt.ParentId = DepartmentClassMap.get(gedata.DepartmentClass).Id;
+                                        dpt.Department_Class__c = DepartmentClassMap.get(gedata.DepartmentClass).Id;
+                                        dpt.ParentId = DepartmentClassMap.get(gedata.DepartmentClass).Id;
                                         if (string.isnotblank(personCode)) { //浜哄憳绠$悊缂栫爜瀛樺湪
                                             if (peopleMap.containsKey(personCode)) { //浜哄憳绠$悊缂栫爜鏌ユ壘鏈夊�� 13 瀹屾垚
                                                 System.debug('13閫昏緫');

--
Gitblit v1.9.1