From d77b6353ca9b59a6398df3eae9912f9fd766946d Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期六, 05 八月 2023 17:04:22 +0800
Subject: [PATCH] fix: lightning 页面确认

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

diff --git a/force-app/main/default/classes/TransferApplyWebService.cls b/force-app/main/default/classes/TransferApplyWebService.cls
index 371adb6..c1a0ada 100644
--- a/force-app/main/default/classes/TransferApplyWebService.cls
+++ b/force-app/main/default/classes/TransferApplyWebService.cls
@@ -12,10 +12,12 @@
                  , RecordType.DeveloperName //20201202 ljh add
                  , BeiPinWindow__c //20201202 ljh add
                  , Add_Reason__c // 20210429 1831 you
+                 ,RecordtypeId
              FROM TransferApply__c
             WHERE Id = :taId
               FOR UPDATE
         ];
+
         if (taList.isEmpty()) {
             return '璋冩嫧鍗曚笉瀛樺湪銆�';
         }
@@ -27,8 +29,8 @@
         if(!errorList.isEmpty()) {
             return String.join(errorList, '\n');
         }
+        system.debug('zzm  :'+ta.Status__c +',RecordtypeId:' +ta.RecordtypeId);
         if(ta.Status__c == '鑽夋涓�') {
-
             ta.Status__c = '濉啓瀹屾瘯';
         }
         else {
@@ -172,6 +174,7 @@
             WHERE Id = :taId
               FOR UPDATE
         ];
+        
         if (taList.isEmpty()) {
             return '璋冩嫧鍗曚笉瀛樺湪銆�';
         }

--
Gitblit v1.9.1