From b57547736fce587ba7b97e7923907455f5d26de4 Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 11 四月 2024 14:30:15 +0800
Subject: [PATCH] 1

---
 force-app/main/default/classes/lexNewQuoteEntryController.cls |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/force-app/main/default/classes/lexNewQuoteEntryController.cls b/force-app/main/default/classes/lexNewQuoteEntryController.cls
index c7dc449..3bcee50 100644
--- a/force-app/main/default/classes/lexNewQuoteEntryController.cls
+++ b/force-app/main/default/classes/lexNewQuoteEntryController.cls
@@ -1674,6 +1674,9 @@
                              //chenjingwu DB202308355043 2023.8.25 start
                              , prd.Category5__c
                              //chenjingwu DB202308355043 2023.8.25 end
+                             //chenjingwu 20240411 start
+                             , 0
+                             //chenjingwu 20240411 end
                              //fy DB202312538864 2024.02.02 start
                             ,prd.LastbuyProductFLG__c
                             ,prd.whetherOldCode_PrePro__c
@@ -1703,6 +1706,9 @@
                              //chenjingwu DB202308355043 2023.8.25 start
                              , prd.Category5__c
                              //chenjingwu DB202308355043 2023.8.25 end
+                             //chenjingwu 20240411 start
+                             , 0
+                             //chenjingwu 20240411 end
                              //fy DB202312538864 2024.02.02 start
                             ,prd.LastbuyProductFLG__c
                             ,prd.whetherOldCode_PrePro__c
@@ -1781,7 +1787,7 @@
           for (String s : xlslist) {
             //odd number or even number
             // chenjingwu 20240411 start
-            if (math.mod(i, 3) == 0) {
+            if (math.mod(i, 3) == 1) {
               system.debug('xlslist1+++'+s);
               //odd number
               if (s == '' || s == null) {
@@ -1795,7 +1801,7 @@
                 xlsQuantity = Integer.valueOf(s);
                 Quantitylist.add(xlsQuantity);
               }
-            } else if(math.mod(i, 3) == 1){
+            } else if(math.mod(i, 3) == 0){
               system.debug('xlslist2+++'+s);
               //even number
               if (s == '' || s == null) {
@@ -3174,7 +3180,7 @@
           pageObject = New QuoteLineItem();
           pageObject.Quantity__c = Quantity;
           //chenjingwu  20240411 start
-          pageObject.ExtendedWarrantyPeriod__c = exYear;
+          this.Learning_Community = exYear;
           //chenjingwu  20240411 end
           this.lineNo = i;
           this.Asset_Model = Asset_Model;

--
Gitblit v1.9.1