From b5c5eb130ca0848124f9d136af4be142ad5aac07 Mon Sep 17 00:00:00 2001 From: binxie <137736985@qq.com> Date: 星期一, 26 六月 2023 14:42:02 +0800 Subject: [PATCH] backup0626 --- force-app/main/default/classes/DealerInquiryModifyStateController.cls | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/classes/DealerInquiryModifyStateController.cls b/force-app/main/default/classes/DealerInquiryModifyStateController.cls index f65c671..9e6c25c 100644 --- a/force-app/main/default/classes/DealerInquiryModifyStateController.cls +++ b/force-app/main/default/classes/DealerInquiryModifyStateController.cls @@ -51,6 +51,9 @@ private String strColumus; private String strRtColumus; + //add by Link 2023-6-2 + public String remindMsg{get;set;} + @TestVisible private String accTypeForSort = null; private static Integer oppLimit = 500; @@ -124,6 +127,7 @@ } public PageReference init() { + remindMsg = ''; PartnerSoapSforceCom.Soap soap = new PartnerSoapSforceCom.Soap(); soap.SessionHeader = new PartnerSoapSforceCom.SessionHeader_element(); soap.SessionHeader.sessionId = UserInfo.getSessionId(); @@ -372,14 +376,22 @@ //鏄剧ず鎻愮ず鎿嶄綔淇℃伅 if (String.isBlank(this.saveType) && String.isBlank(this.sortKey)) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '鍙栧緱鏈�杩戠殑 ' + oppCount + ' 鏉℃暟鎹�')); + //add by Link 2023-6-2 + remindMsg = '鍙栧緱鏈�杩戠殑 ' + oppCount + ' 鏉℃暟鎹�'; } else if (!String.isBlank(this.sortKey)) { if (oppCount > oppLimit) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '鏁版嵁瓒呰繃' + oppLimit + '浠讹紝鍙樉绀哄墠' + oppLimit + '浠�')); + //add by Link 2023-6-2 + remindMsg = '鏁版嵁瓒呰繃' + oppLimit + '浠讹紝鍙樉绀哄墠' + oppLimit + '浠�'; } else { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '鍏辨湁 ' + oppCount + ' 鏉℃暟鎹�')); + //add by Link 2023-6-2 + remindMsg = '鍏辨湁 ' + oppCount + ' 鏉℃暟鎹�'; } } else { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '鍏辨湁 ' + oppCount + ' 鏉℃暟鎹�')); + //add by Link 2023-6-2 + remindMsg = '鍏辨湁 ' + oppCount + ' 鏉℃暟鎹�'; } } //妫�绱㈡潯浠讹細鏁版嵁瀛楁1锛屾暟鎹瓧娈�2锛屾暟鎹瓧娈�3鍧囨弧瓒宠繘鍏ユ鏂规硶 鍒ゆ柇澶氱鎯呭喌 @@ -566,6 +578,8 @@ // update updOpps; // } ApexPages.addmessage(new ApexPages.message(ApexPages.severity.INFO, '淇濆瓨瀹屼簡')); + //add by Link 2023-6-2 + remindMsg = '淇濆瓨瀹屼簡'; } catch (Exception e) { //ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '璇风‘瀹氱瀹ゅ垎绫诲拰浜у搧鍖哄垎鐨勫叧绯�')); } -- Gitblit v1.9.1