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/classes/ReceivingNoteWaitingReceiptController.cls |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/classes/ReceivingNoteWaitingReceiptController.cls b/force-app/main/default/classes/ReceivingNoteWaitingReceiptController.cls
index cd8b82f..80558ea 100644
--- a/force-app/main/default/classes/ReceivingNoteWaitingReceiptController.cls
+++ b/force-app/main/default/classes/ReceivingNoteWaitingReceiptController.cls
@@ -26,6 +26,13 @@
         };
     }
     //20210806 ljh 绠$悊缂栫爜 end
+    // 20230117 ljh DB202301096735 start
+    public List<ReceivingNoteDetail__c>  rndInfo { 
+        get {
+            return  [select id,Fixture_Arrival_Product__c FROM ReceivingNoteDetail__c  where Fixture_Arrival_Product__c = ''  LIMIT 1 ];
+        }
+    }
+    // 20230117 ljh DB202301096735 end
 
     public ReceivingNoteWaitingReceiptController() {
         parId = System.currentPageReference().getParameters().get('parId');
@@ -604,12 +611,12 @@
                 }
             }
             //閲嶆柊缂栫爜
-            // 20211203 ljh SFDC-C8ZATE start
+            // 20212103 ljh SFDC-C8ZATE start
             List<Asset_EquipmentSet_Managment_Code__c> aemCodeList = new List<Asset_EquipmentSet_Managment_Code__c>();
             Map<String,Asset_EquipmentSet_Managment_Code__c> oldCodeMap = new Map<String,Asset_EquipmentSet_Managment_Code__c>();
-            // 20211203 ljh SFDC-C8ZATE end
+            // 20212103 ljh SFDC-C8ZATE end
             if(codeNewMap.size() > 0){
-                // 20211203 ljh SFDC-C8ZATE start
+                // 20212103 ljh SFDC-C8ZATE start
                 // List<Asset_EquipmentSet_Managment_Code__c> aemCodeList = [SELECT Id, key__c, code__c, 
                 aemCodeList = [SELECT Id, key__c, code__c,   
                         LastNo__c, keyName__c, isSpecial__c, MaxLastNo__c FROM Asset_EquipmentSet_Managment_Code__c
@@ -646,7 +653,7 @@
                             rndMap.put(rnde1.Id,rnde2); 
 
                         }
-                        oldCodeMap.put(aem.Id,aem); // 20211203 ljh SFDC-C8ZATE end
+                        oldCodeMap.put(aem.Id,aem); // 20212103 ljh SFDC-C8ZATE end
                         Asset_EquipmentSet_Managment_Code__c aesm = new Asset_EquipmentSet_Managment_Code__c();
                         aesm.Id = aem.Id;
                         aesm.LastNo__c = code;
@@ -671,7 +678,7 @@
                     }
                 }
                 //20210804 ljh 绠$悊缂栫爜 end
-                // 20211203 ljh SFDC-C8ZATE start
+                // 20212103 ljh SFDC-C8ZATE start
                 // 鍒ゆ柇姝ゆ椂姝ゅ埢鐨勫�� 鏄惁鍜屾渶鍒濈殑鍊兼槸鍚︿竴鏍凤紝涓嶄竴鏍锋彁绀�
                 List<Asset_EquipmentSet_Managment_Code__c> aemCodeNowList = [SELECT Id, key__c, code__c,   
                         LastNo__c, keyName__c, isSpecial__c, MaxLastNo__c FROM Asset_EquipmentSet_Managment_Code__c
@@ -685,7 +692,7 @@
                     //}
                 }        
                 update aesmUList; //20210809 ljh 绠$悊缂栫爜
-                // 20211203 ljh SFDC-C8ZATE end
+                // 20212103 ljh SFDC-C8ZATE end
                 update rndList; 
                 // update aesmUList; //20210809 ljh 绠$悊缂栫爜
                 pageRef.getParameters().put('message','宸蹭繚瀛�');

--
Gitblit v1.9.1