From 8e39e511f1a272ee05b53ff68a985464a8c7ccf9 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期二, 22 三月 2022 17:53:45 +0800
Subject: [PATCH] 先款后修-修理上增加先款标识
---
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