From 5fa4c7d6c8d987891ffe5ef8fae615b33e032886 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 20 七月 2023 10:32:10 +0800
Subject: [PATCH] button-lexRentalFixtureSetAssignAgency

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

diff --git a/force-app/main/default/classes/RentalApplyWebService.cls b/force-app/main/default/classes/RentalApplyWebService.cls
index 63fe20e..af448ab 100644
--- a/force-app/main/default/classes/RentalApplyWebService.cls
+++ b/force-app/main/default/classes/RentalApplyWebService.cls
@@ -377,6 +377,7 @@
            rasdid = rentalApplyId.subString(rentalApplyId.indexOf(';') + 1);
            rentalApplyId = rentalApplyId.subString(0, rentalApplyId.indexOf(';'));
         }
+        system.debug(rentalApplyId+'==aaa'); 
         //1388 yc 20211021 璺ㄥ尯鍩熷垎閰嶄笉鑳藉嚭搴�  end
         //澶囧搧鍊熷嚭鐢宠
         Rental_Apply__c[] rentalApply = [select Id,repair__r.Repair_Final_Inspection_Date__c,Bollow_Date__c,repair__r.Return_Without_Repair_Date__c,
@@ -384,6 +385,7 @@
                                         demo_purpose2__c,Follow_UP_Opp__r.Shipping_Finished_Day_Func__c,next_action__c,QIS_number__r.ReplaceDeliveryDate__c
                                         from Rental_Apply__c 
                                         where Id = :rentalApplyId];
+        system.debug(rentalApplyId+'==aaa'+rentalApply.size());                                
         if (rentalApply.size() == 0) {
             returnStr = '娌℃湁澶囧搧鍊熷嚭鐢宠锛岃纭銆�';
             return returnStr;
@@ -725,13 +727,13 @@
                                 if(raescc != null && raescc.size() > 0){
                                     for(Rental_Apply_Equipment_Set__c rr : raescc){
                                         if ((rr.Received_Confirm__c == 'OK' || rr.Received_Confirm__c == '榛樿绛炬敹-OK') && rr.Asset_return_time__c != null) {
-                                            return '姝ゅ崟涓嶆弧瓒冲欢鏈熸潯浠躲��';
+                                            return '姝ゅ崟涓嶆弧瓒冲欢鏈熸潯浠�01銆�';
                                         }
                                     }
                                     return '1';
                                 }
                             }else{
-                                return '姝ゅ崟涓嶆弧瓒冲欢鏈熸潯浠躲��';
+                                return '姝ゅ崟涓嶆弧瓒冲欢鏈熸潯浠�02銆�';
                             }
                         }else{
                             return '2';

--
Gitblit v1.9.1