From 2aa8da8af66aa8ae00f25831aed6bb0364176e7b Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 24 二月 2022 20:32:31 +0800
Subject: [PATCH] 1.15---2.24 变更代码

---
 force-app/main/default/classes/taskAlertController.cls |   34 ++++++++++++++++++++++------------
 1 files changed, 22 insertions(+), 12 deletions(-)

diff --git a/force-app/main/default/classes/taskAlertController.cls b/force-app/main/default/classes/taskAlertController.cls
index d62e943..0ffa512 100644
--- a/force-app/main/default/classes/taskAlertController.cls
+++ b/force-app/main/default/classes/taskAlertController.cls
@@ -90,18 +90,28 @@
 				this.OppWithoutConformNumber = 0;
 			}
 		//2021-11-08 mzy  SWAG-C8KCZZ  end
-		//2021-11-23 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  start
-		LeadIntentionController LeadIntController = new LeadIntentionController();
-		LeadIntController.init();
-		Integer pclCount = LeadIntController.pclCount;
-		if(pclCount>0){
-			InquiryNumber = pclCount;
-			isShowInquiry = true;
-		}else{
-			isShowInquiry = false;
-			InquiryNumber = 0;
-		}
-		//2021-11-23 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  end 
+		//2022-02-23 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  start
+		// LeadIntentionController LeadIntController = new LeadIntentionController();
+		// LeadIntController.init();
+		// Integer pclCount = LeadIntController.pclCount;
+		// if(pclCount>0){
+		// 	InquiryNumber = pclCount;
+		// 	isShowInquiry = true;
+		// }else{
+		// 	isShowInquiry = false;
+		// 	InquiryNumber = 0;
+		// }
+		InquiryFormManageController.InquiryFormView IFView =
+			InquiryFormManageController.getCurrentInquiryInform();
+			if(IFView.isShow){
+				this.isShowInquiry = IFView.isShow;
+				this.InquiryNumber = IFView.InquiryFormList.size();
+			}else{
+			    this.isShowInquiry = false;
+				this.InquiryNumber = 0;
+			}
+
+		//2022-02-23 mzy 鍏遍�氬钩鍙伴」鐩�-棣栭〉淇敼  end 
 		
 		return null;
 	}

--
Gitblit v1.9.1