| | |
| | | public Decimal exPrice; |
| | | public Decimal exPriceCopy; |
| | | // public List<Map<String, String>> Learning_CommunityOptions = new List<Map<String, String>>(); |
| | | public List<OptionTemplete> Learning_CommunityOptions = new ; |
| | | public List<OptionTemplete> Learning_CommunityOptions; |
| | | public List<MultiYearWarranty__c> multiYearWarrantyList; |
| | | // chenjingwu 3+2多年保 20240401 end |
| | | //fy DB202312538864 2024.02.02 start |
| | |
| | | // for(Integer j = 0;j < period;j++){ |
| | | // optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | | // } |
| | | this.Learning_CommunityOptions = optionTempleteList; |
| | | |
| | | } |
| | | if(this.Learning_Community == '0' && this.Learning_CommunityOptions.size() > 1){ |
| | | this.Learning_CommunityOptions = optionTempleteList; |
| | | if(qli.ExtendedWarrantyPeriod__c == null && this.Learning_CommunityOptions.size() > 1){ |
| | | this.Learning_Community = this.multiYearWarrantyList.get(this.multiYearWarrantyList.size() - 1).AgeLimit__c + ''; |
| | | this.exPrice = this.multiYearWarrantyList.get(this.multiYearWarrantyList.size() - 1).MultiOneYearWarrantyPrice__c; |
| | | } |