From 6b61c19fd8f32ee060fec698905b4727807e0ff7 Mon Sep 17 00:00:00 2001
From: 游畅 <youchang@prec-tech.com>
Date: 星期日, 24 四月 2022 17:05:33 +0800
Subject: [PATCH] 再来的新数据:新建的时候待入职的就不新建,只有在职的新建。 现在已经新建了的待入职,什么时候状态变在职,什么时候再更新一次,之后也是除非状态再变离职,否则不更新。

---
 force-app/main/default/pages/NewConsumApplyEquipmentSetDetail.page |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/NewConsumApplyEquipmentSetDetail.page b/force-app/main/default/pages/NewConsumApplyEquipmentSetDetail.page
index e58c0d5..c3f05b4 100644
--- a/force-app/main/default/pages/NewConsumApplyEquipmentSetDetail.page
+++ b/force-app/main/default/pages/NewConsumApplyEquipmentSetDetail.page
@@ -11,6 +11,7 @@
         }
     </style>
     <script>
+        AWSService.sfSessionId = '{!GETSESSIONID()}';
         //Initial Required Information
         var staticResources = JSON.parse('{!staticResource}');
         var requiredFieldAPIList = JSON.parse('{!requiredFieldAPIListStr}');
@@ -55,7 +56,9 @@
             } else {
                 payloadJson.AWS_Data_Id__c = '{!AWSDataId}';
             }
-            debugger
+            if('{!rtTypeId}'){
+                payloadJson.RecordTypeId = '{!rtTypeId}';//Add by zhj for Record Type Issue 20220421
+            }
             return payloadJson;
         }
 

--
Gitblit v1.9.1