From b329ab986e250bb27e46ace97cf208f3b26d145a Mon Sep 17 00:00:00 2001
From: FUYU <fuyu@prec-tech.com>
Date: 星期一, 18 十二月 2023 17:38:15 +0800
Subject: [PATCH] 修改复制(不带产品按钮)
---
force-app/main/default/classes/ConsumablesApplyOrLendBatchTest.cls | 24 ++++++++++++------------
1 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/force-app/main/default/classes/ConsumablesApplyOrLendBatchTest.cls b/force-app/main/default/classes/ConsumablesApplyOrLendBatchTest.cls
index dc81d30..4c8e005 100644
--- a/force-app/main/default/classes/ConsumablesApplyOrLendBatchTest.cls
+++ b/force-app/main/default/classes/ConsumablesApplyOrLendBatchTest.cls
@@ -138,10 +138,10 @@
System.Test.startTest();
Database.executeBatch(new ConsumablesApplyOrLendBatch(),1);
- strategicDep[0].OwnerId = user[1].Id;
- strategicDep[0].Department_Class_Label__c = '鍏朵粬';
- update strategicDep;
- Database.executeBatch(new ConsumablesApplyOrLendBatch(strategicDep[0].id),1);
+ // strategicDep[0].OwnerId = user[1].Id;
+ // strategicDep[0].Department_Class_Label__c = '鍏朵粬';
+ // update strategicDep;
+ // Database.executeBatch(new ConsumablesApplyOrLendBatch(strategicDep[0].id),1);
System.Test.stopTest();
}
@@ -180,7 +180,7 @@
List<User> user = [select Id,Name,Job_Category__c from User where IsActive = true AND Job_Category__c = '閿�鍞湇鍔�'];
// List<User> user1 = [select Id,Name from User where IsActive = true AND Job_Category__c = '閿�鍞湇鍔�'];
strategicDep[0].OwnerId = user[0].Id;
- strategicDep[0].Department_Class_Label__c = '鏅绉�';
+ // strategicDep[0].Department_Class_Label__c = '鏅绉�';
update strategicDep;
hospital.FSE_GI_Main_Leader__c = user[1].Id;
@@ -197,10 +197,10 @@
System.Test.startTest();
Database.executeBatch(new ConsumablesApplyOrLendBatch(),1);
- strategicDep[0].OwnerId = user[1].Id;
- strategicDep[0].Department_Class_Label__c = '鍏朵粬';
- update strategicDep;
- Database.executeBatch(new ConsumablesApplyOrLendBatch(strategicDep[0].id),1);
+ // strategicDep[0].OwnerId = user[1].Id;
+ // strategicDep[0].Department_Class_Label__c = '鍏朵粬';
+ // update strategicDep;
+ // Database.executeBatch(new ConsumablesApplyOrLendBatch(strategicDep[0].id),1);
System.Test.stopTest();
}
@@ -246,9 +246,9 @@
insert ra1;
List<Rental_Apply__c> raList = [SELECT id,OwnerId,Approver_of_Service_Department__c,Strategic_user__c,Strategic_dept__c,ShareStrategicUser__c FROM Rental_Apply__c WHERE Id = :ra1.Id ];
- strategicDep[0].OwnerId = u1.Id;
- strategicDep[0].Department_Class_Label__c = '鏅绉�';
- update strategicDep;
+ // strategicDep[0].OwnerId = u1.Id;
+ // strategicDep[0].Department_Class_Label__c = '鏅绉�';
+ // update strategicDep;
hospital.FSE_GI_Main_Leader__c = u2.Id;
--
Gitblit v1.9.1