From 3d29090cfcde7bfb1b72de7e9d470a6a32931f3a Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期四, 17 三月 2022 21:32:18 +0800
Subject: [PATCH] PIPLFunctionDeployV3

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

diff --git a/force-app/main/default/classes/StraightBackAddressController.cls b/force-app/main/default/classes/StraightBackAddressController.cls
index e63368a..fefec47 100644
--- a/force-app/main/default/classes/StraightBackAddressController.cls
+++ b/force-app/main/default/classes/StraightBackAddressController.cls
@@ -232,7 +232,7 @@
                         try{
                             //淇濆瓨鏁版嵁鍒颁慨鐞嗚〃涓�
                             Repair__c rc = new Repair__c();
-                            rc.id=RepairId;
+                            rc.id = RepairId;
                             rc.Address_AWS_Data_Id__c = tableData[i].address.AWS_Data_Id__c;
                             rc.Contact_AWS_Data_Id__c = contactawsDataId;
                             rc.address_Contacts__c = contactsName;
@@ -350,12 +350,14 @@
             List<Address__c> dataList = Database.query(AddressSql);
             if(dataList != null && dataList.size()> 0){
                 indexCou += dataList.size();
+                System.debug('dataList-----'+dataList);
                 for(Integer i = 0;i<dataList.size();i++){
                     String createID = dataList[i].CreatedByid;
                     createId = createId.substring(0,15);
                     //鍔炰簨澶勭殑鍦板潃涓嶅彲淇敼
+                    
                     if(dataList[i].Address_Classification__c == '鍔炰簨澶�'){
-                            tableData.add(new AddressData(dataList[i],'none','none','inline'));
+                        tableData.add(new AddressData(dataList[i],'none','none','inline'));
                     }else{
                         //鍙兘鏀硅嚜宸卞垱寤虹殑鍦板潃鏁版嵁锛岀郴缁熺鐞嗗憳銆丟PI_绯荤粺绠$悊鍛楴ew 娌¢檺鍒�
                         if(loginPerson == createId ||loginPerson == '00e10000000dzzG' ||loginPerson == '00e10000000Y3o5'){
@@ -470,7 +472,6 @@
                 }
             }
             //鍒ゆ柇鑱旂郴浜烘槸鍚﹂兘涓虹┖
-            
             if(insUpdData.Contacts__c == null || String.isBlank(insUpdData.Contacts__c)){
                 //鍒ゆ柇鏂板缓鑱旂郴浜烘槸鍚︿负绌�
                 if(insUpdData.Create_Contacts__c == null || String.isBlank(insUpdData.Create_Contacts__c)){

--
Gitblit v1.9.1