From ea6a4eec81a6a74e214aefc5971d701242c3e7d3 Mon Sep 17 00:00:00 2001
From: Thhto <997058689@qq.com>
Date: 星期四, 17 十一月 2022 14:40:04 +0800
Subject: [PATCH] SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy
---
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