|  |  | 
 |  |  |         agency_report_header = LightningUtil.upsertAgencyReportHeader(agency_report_header); | 
 |  |  |         return agency_report_header.Id; | 
 |  |  |     } | 
 |  |  |     //新建周报一览 | 
 |  |  |     public static Agency_Report_Header__c makeReportHeader(String name, String s_date, String s_agency, String head_key){ | 
 |  |  |         User login_user_id = LightningUtil.loginUserId(); | 
 |  |  |         Date week = Date.valueOf(s_date); | 
 |  |  | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  |                     if(EffectProgressMap.containsKey(lineList[12])){ | 
 |  |  |                         agencyReport.EffectProgress__c = EffectProgressMap.get(lineList[12]).Id;     | 
 |  |  |                         agencyReport.EffectProgress__c = EffectProgressMap.get(lineList[12]).EffectProgress__c;     | 
 |  |  |                     } | 
 |  |  |                     if(lineList[13] != null){ | 
 |  |  |                         agencyReport.ConsumptionOfConsumables__c = Decimal.valueOf(lineList[13]);      | 
 |  |  |                     } | 
 |  |  |                     if(OtherBrandConsumablesMap.containsKey(lineList[14])){ | 
 |  |  |                         agencyReport.WarlockClassification__c = OtherBrandConsumablesMap.get(lineList[14]).Id;      | 
 |  |  |                         agencyReport.WarlockClassification__c = OtherBrandConsumablesMap.get(lineList[14]).WarlockClassification__c;      | 
 |  |  |                     } | 
 |  |  |                     if(ProductCcategorynMap.containsKey(lineList[15])){    | 
 |  |  |                         agencyReport.ProductCcategory__c = ProductCcategorynMap.get(lineList[15]).Id;       | 
 |  |  |                         agencyReport.ProductCcategory__c = ProductCcategorynMap.get(lineList[15]).ProductCcategory__c;       | 
 |  |  |                     } | 
 |  |  |                     if(productCategoriesMap.containsKey(lineList[16])){    | 
 |  |  |                         agencyReport.productCategories__c = productCategoriesMap.get(lineList[16]).Id;    | 
 |  |  |                         agencyReport.productCategories__c = productCategoriesMap.get(lineList[16]).productCategories__c;    | 
 |  |  |                     } | 
 |  |  |                     if(lineList[17] != null){ | 
 |  |  |                         agencyReport.warlocksNumber__c = Decimal.valueOf(lineList[17]);  | 
 |  |  | 
 |  |  |         for(FieldClassification__c efptc : eftpcList){ | 
 |  |  |             Map<String,String> efptcMap = new Map<String,String>(); | 
 |  |  |             efptcMap.put('label', efptc.EffectProgress__c); | 
 |  |  |             efptcMap.put('value', efptc.Id); | 
 |  |  |             efptcMap.put('value', efptc.EffectProgress__c); | 
 |  |  |             options.add(efptcMap); | 
 |  |  |         } | 
 |  |  |         system.debug('options===============>'+options); | 
 |  |  | 
 |  |  |         for(FieldClassification__c WarlockClassification : WarlockClassificationList){ | 
 |  |  |             Map<String,String> WarlockClassificationMap = new Map<String,String>(); | 
 |  |  |             WarlockClassificationMap.put('label', WarlockClassification.WarlockClassification__c); | 
 |  |  |             WarlockClassificationMap.put('value', WarlockClassification.Id); | 
 |  |  |             WarlockClassificationMap.put('value', WarlockClassification.WarlockClassification__c); | 
 |  |  |             options.add(WarlockClassificationMap); | 
 |  |  |         } | 
 |  |  |         return options; | 
 |  |  | 
 |  |  |         for(FieldClassification__c ProductCcategory : ProductCcategoryList){ | 
 |  |  |             Map<String,String> ProductCcategorynMap = new Map<String,String>(); | 
 |  |  |             ProductCcategorynMap.put('label', ProductCcategory.ProductCcategory__c); | 
 |  |  |             ProductCcategorynMap.put('value', ProductCcategory.Id); | 
 |  |  |             ProductCcategorynMap.put('value', ProductCcategory.ProductCcategory__c); | 
 |  |  |             options.add(ProductCcategorynMap); | 
 |  |  |         } | 
 |  |  |         return options; | 
 |  |  | 
 |  |  |         for(FieldClassification__c productCategories : productCategoriesList){ | 
 |  |  |             Map<String,String> productCategoriesMap = new Map<String,String>(); | 
 |  |  |             productCategoriesMap.put('label', productCategories.productCategories__c); | 
 |  |  |             productCategoriesMap.put('value', productCategories.Id); | 
 |  |  |             productCategoriesMap.put('value', productCategories.productCategories__c); | 
 |  |  |             options.add(productCategoriesMap); | 
 |  |  |         } | 
 |  |  |         System.debug('options=============>'+options); |