From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新
---
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