From e52b2723e36ae49397c0f637edf6838bf5f3a022 Mon Sep 17 00:00:00 2001
From: yangjieke <yangjieke@prec-tech.com>
Date: 星期日, 24 四月 2022 11:43:50 +0800
Subject: [PATCH] 日常处理24+ 事件延期报错处理
---
force-app/main/default/classes/AccountQualifyAlertController.cls | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/classes/AccountQualifyAlertController.cls b/force-app/main/default/classes/AccountQualifyAlertController.cls
index da102d3..3a92a47 100644
--- a/force-app/main/default/classes/AccountQualifyAlertController.cls
+++ b/force-app/main/default/classes/AccountQualifyAlertController.cls
@@ -20,10 +20,12 @@
is_Alert_Qualify = false;
if (accList != null && accList.size() > 0) {
- if (accList[0].Quolified_Approve_Status__c.equals('Draft')
- && accList[0].If_Need_Quolified__c == true) {
+ //空指针报错修改 thh 20220411 start
+ if ('Draft'.equals(accList[0].Quolified_Approve_Status__c)
+ && accList[0].If_Need_Quolified__c == true) {
is_Alert_Qualify = true;
}
+ //空指针报错修改 thh 20220411 end
}
}
}
\ No newline at end of file
--
Gitblit v1.9.1