From e3c02c03dd2de442bbced87236f60a13a1cd154e Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 02 三月 2023 17:51:57 +0800
Subject: [PATCH] gzw 正式环境最新代码更新
---
force-app/main/default/classes/OpportunityWebService.cls | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/classes/OpportunityWebService.cls b/force-app/main/default/classes/OpportunityWebService.cls
index 7aef092..b2e568e 100644
--- a/force-app/main/default/classes/OpportunityWebService.cls
+++ b/force-app/main/default/classes/OpportunityWebService.cls
@@ -405,4 +405,15 @@
if (updList.size() > 0) update updList;
return 'OK';
}
+ //SWAG-CG88AG銆愬鎵樸�戞彁鍑轰环鏍肩敵璇锋槸鍦ㄥ崗璁湁鏁堟湡鍐咃紝鍏佽WIN fy start
+ WebService static Boolean judgeIsAssistantAppliedOutTime(String Quoteid) {
+ List<PromotionSales__c> PromotionSalesList = [select id,IsAssistantAppliedOutTime__c from PromotionSales__c where Quote__r.Quote_No__c =:Quoteid];
+ for(PromotionSales__c pro : PromotionSalesList){
+ if(pro.IsAssistantAppliedOutTime__c){
+ return false;
+ }
+ }
+ return true;
+ }
+ //SWAG-CG88AG銆愬鎵樸�戞彁鍑轰环鏍肩敵璇锋槸鍦ㄥ崗璁湁鏁堟湡鍐咃紝鍏佽WIN fy end
}
\ No newline at end of file
--
Gitblit v1.9.1