| | |
| | | Map<String,List<MultiYearWarranty__c>> priceMap = new Map<String,List<MultiYearWarranty__c>>(); |
| | | for(String id: idList){ |
| | | List<OptionTemplete> optionTempleteList = new List<OptionTemplete>(); |
| | | optionTempleteList.add(new OptionTemplete('0年','')); |
| | | optionTempleteList.add(new OptionTemplete('0年','0')); |
| | | if(intList.containsKey(id)){ |
| | | for(Integer j = 0;j < intList.get(id);j++){ |
| | | optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | |
| | | // chenjingwu sp主机类型 20240318 end |
| | | // chenjingwu 3+2多年保 20240401 start |
| | | public String Learning_Community; |
| | | public String Learning_CommunityCopy; |
| | | public Decimal exPrice; |
| | | public Decimal exPriceCopy; |
| | | // public List<Map<String, String>> Learning_CommunityOptions = new List<Map<String, String>>(); |
| | | public List<OptionTemplete> Learning_CommunityOptions; |
| | | public List<MultiYearWarranty__c> multiYearWarrantyList; |
| | |
| | | } |
| | | if(period > 0){ |
| | | List<OptionTemplete> optionTempleteList = new List<OptionTemplete>(); |
| | | optionTempleteList.add(new OptionTemplete('0年','')); |
| | | optionTempleteList.add(new OptionTemplete('0年','0')); |
| | | for(Integer j = 0;j < period;j++){ |
| | | optionTempleteList.add(new OptionTemplete((j + 1) + '年',(j + 1) + '')); |
| | | } |