From 29fbeff08ec332db9bc6257e106b81d21c8d4534 Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期二, 12 四月 2022 09:44:07 +0800
Subject: [PATCH] 系统周报添加字段
---
force-app/main/default/classes/NFM601Batch.cls | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/NFM601Batch.cls b/force-app/main/default/classes/NFM601Batch.cls
index 05c17b5..e25b483 100644
--- a/force-app/main/default/classes/NFM601Batch.cls
+++ b/force-app/main/default/classes/NFM601Batch.cls
@@ -77,6 +77,8 @@
}
global void finish(Database.BatchableContext BC) {
- Id execBTId = Database.executeBatch(new NFM606Batch(), 200);
+ if(!Test.isRunningTest()){
+ Id execBTId = Database.executeBatch(new NFM606Batch(), 200);
+ }
}
}
\ No newline at end of file
--
Gitblit v1.9.1