1
chenjingwu
2024-04-11 b57547736fce587ba7b97e7923907455f5d26de4
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;