buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/classes/UpdateAgencyRptProductTargetBatchTest.cls
@@ -123,6 +123,7 @@
            String Product_Category3 = '';
            String Result = '';
            String Opportunity = '';
            String SupportNeedsc =  '维修备品';
            
            Department_Cateogy = 'GI';
            Purpose_Type = '询价挖掘-会议对应';
@@ -136,7 +137,7 @@
            Product_Category3 = product_types3.Id;
            Result = '一般';
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, SupportNeedsc, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
            Department_Cateogy = 'GI';
            Purpose_Type = '询价挖掘-OPD';
@@ -150,7 +151,7 @@
            Product_Category3 = '';
            Result = '一般';
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, SupportNeedsc, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
            Department_Cateogy = 'GI';
            Purpose_Type = '询价挖掘-会议对应';
@@ -164,7 +165,7 @@
            Product_Category3 = '';
            Result = '一般';
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
            report_id = WeeklyReportCmp.saveAgencyReport(Department_Cateogy, Purpose_Type, SupportNeedsc, Agency_Report_Header, Agency_Hospital, Person_In_Charge2, doctor, Submit_date, Product_Category,Product_Category2,Product_Category3, Result, Opportunity,'','','','',Submit_date);
        
            System.Test.StartTest();
            UpdateAgencyRptProductTargetBatch b2 = new UpdateAgencyRptProductTargetBatch();