From 1312ba82d4c880bdb5357d28e0d4af5b285f610f Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期四, 10 三月 2022 15:54:39 +0800 Subject: [PATCH] 最近一月修改内容 --- force-app/main/default/classes/OrdergoodsControllerTest.cls | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/OrdergoodsControllerTest.cls b/force-app/main/default/classes/OrdergoodsControllerTest.cls index bb822aa..518d1bf 100644 --- a/force-app/main/default/classes/OrdergoodsControllerTest.cls +++ b/force-app/main/default/classes/OrdergoodsControllerTest.cls @@ -7,6 +7,10 @@ if (rectCo.size() == 0) { throw new ControllerUtil.myException('not found 鍔炰簨澶� recodetype'); } + Account account2 = new Account(); + account2.Name = 'test1缁忛攢鍟�'; + account2.RecordTypeId = '01210000000Qem1'; + insert account2; // 瀹㈡埛 Account account = new Account(); account.RecordTypeId = rectCo[0].Id; @@ -14,6 +18,7 @@ account.Name = 'Katsu 銉嗐偣銉�'; account.Quolified_Approve_Status__c = 'Draft'; account.If_Need_Quolified__c = true; + account.ParentId = account2.Id; insert account; Product2 product = new Product2(); @@ -147,12 +152,17 @@ throw new ControllerUtil.myException('not found 鍔炰簨澶� recodetype'); } // 瀹㈡埛 + Account account2 = new Account(); + account2.Name = 'test1缁忛攢鍟�'; + account2.RecordTypeId = '01210000000Qem1'; + insert account2; Account account = new Account(); account.RecordTypeId = rectCo[0].Id; account.Phone = '13888888888'; account.Name = 'Katsu 銉嗐偣銉�'; account.Quolified_Approve_Status__c = 'Draft'; account.If_Need_Quolified__c = true; + account.ParentId = account2.Id; insert account; //鏌ヤ笉鍑轰换浣曟牱鏈搧,SFDA_Status__c浼氳瑙﹀彂鍣ㄤ慨鏀逛负鍋滄 Product2 product = new Product2(); -- Gitblit v1.9.1