From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新

---
 force-app/main/default/objects/Tender_information__c/fields/Salesdepartment_SAP__c.field-meta.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/objects/Tender_information__c/fields/Salesdepartment_SAP__c.field-meta.xml b/force-app/main/default/objects/Tender_information__c/fields/Salesdepartment_SAP__c.field-meta.xml
index 482a62d..146b93e 100644
--- a/force-app/main/default/objects/Tender_information__c/fields/Salesdepartment_SAP__c.field-meta.xml
+++ b/force-app/main/default/objects/Tender_information__c/fields/Salesdepartment_SAP__c.field-meta.xml
@@ -2,7 +2,8 @@
 <CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>Salesdepartment_SAP__c</fullName>
     <externalId>false</externalId>
-    <formula>CASE(OCSMProvinceText__c,
+    <formula>IF(AND(CentralizedProject__c, LEFT(Owner:User.Profile.Id,15)==  LEFT($Label.ProfileId_2M4, 15)),&apos;甯傚満浼佸垝鏈儴&apos;,
+CASE(OCSMProvinceText__c,
 &quot;鍖椾含&quot;,&quot;1.鍗庡寳&quot;,
 &quot;澶╂触&quot;,&quot;1.鍗庡寳&quot;,
 &quot;娌冲崡&quot;,&quot;3.瑗垮寳&quot;,
@@ -17,6 +18,7 @@
 &quot;鏂扮枂&quot;,&quot;3.瑗垮寳&quot;,
 &quot;杈藉畞&quot;,&quot;2.涓滃寳&quot;,
 &quot;榛戦緳姹�&quot;,&quot;2.涓滃寳&quot;,
+&quot;娌堥槼&quot;,&quot;2.涓滃寳&quot;,
 &quot;鍚夋灄&quot;,&quot;2.涓滃寳&quot;,
 &quot;涓婃捣&quot;,&quot;5.鍗庝笢&quot;,
 &quot;姹熻嫃&quot;,&quot;5.鍗庝笢&quot;,
@@ -28,14 +30,17 @@
 &quot;骞胯タ&quot;,&quot;6.鍗庡崡&quot;,
 &quot;鍥涘窛&quot;,&quot;4.瑗垮崡&quot;,
 &quot;閲嶅簡&quot;,&quot;4.瑗垮崡&quot;,
+&quot;鍥涘窛/瑗胯棌&quot;,&quot;4.瑗垮崡&quot;,
 &quot;浜戝崡&quot;,&quot;4.瑗垮崡&quot;,
 &quot;璐靛窞&quot;,&quot;4.瑗垮崡&quot;,
 &quot;婀栧寳&quot;,&quot;6.鍗庡崡&quot;,
 &quot;婀栧崡&quot;,&quot;6.鍗庡崡&quot;,
 &quot;娣卞湷&quot;,&quot;6.鍗庡崡&quot;,
+&quot;娴峰崡&quot;,&quot;6.鍗庡崡&quot;,
 &quot;澶ц繛&quot;,&quot;2.涓滃寳&quot;,
 &quot;闈掑矝&quot;,&quot;1.鍗庡寳&quot;,
-&quot;鍏朵粬&quot;)</formula>
+&quot;鍏朵粬&quot;)
+)</formula>
     <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
     <label>鏈儴</label>
     <required>false</required>

--
Gitblit v1.9.1