From 4420517bbbffea48cabe7a7dcdf2e1c4b440fc85 Mon Sep 17 00:00:00 2001
From: GWY <guweiyi@prec-tech.com>
Date: 星期一, 30 五月 2022 16:15:26 +0800
Subject: [PATCH] 两个LS特殊条件在说明的增减
---
force-app/main/default/classes/loanerAppTriggerHandler.cls | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/loanerAppTriggerHandler.cls b/force-app/main/default/classes/loanerAppTriggerHandler.cls
index 983b992..c0016a3 100644
--- a/force-app/main/default/classes/loanerAppTriggerHandler.cls
+++ b/force-app/main/default/classes/loanerAppTriggerHandler.cls
@@ -1,11 +1,20 @@
+/**
+ * @description :
+ * @author : ChangeMeIn@UserSettingsUnder.SFDoc
+ * @group :
+ * @last modified on : 04-21-2022
+ * @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc
+**/
public without sharing class loanerAppTriggerHandler {
/**
* [changeFollowOpp description] 璺熻繘璇环鏀瑰彉鏃朵慨鏀硅窡杩涜浠�(鏂囨湰)
* Date 2020/8/20
*/
public static void changeFollowOpp(List<loaner_application__c> newList, Map<Id, loaner_application__c> newMap, List<loaner_application__c> oldList, Map<Id, loaner_application__c> oldMap){
- //List<loaner_application__c> upList = new List<loaner_application__c>();
+ // List<loaner_application__c> upList = new List<loaner_application__c>();
+ // newList = [select id,Equipment_Type__c,Follow_Opp__c,Follow_Opp_text__c from loaner_application__c where id = 'a0Q0K00000JO2FfUAL'];
List<String> idList = new List<String>();
+ System.debug('newList'+newList);
for(loaner_application__c la : newList){
loaner_application__c oldla = oldMap.get(la.Id);
if(la.Equipment_Type__c == 'BS' && la.Follow_Opp__c != oldla.Follow_Opp__c && la.Follow_Opp__c != null){
@@ -33,6 +42,8 @@
}
public static void transferBack(List<loaner_application__c> newList, Map<Id, loaner_application__c> newMap, List<loaner_application__c> oldList, Map<Id, loaner_application__c> oldMap){
+ System.debug('newList' + newList);
+ System.debug('oldList' + oldList);
List<String> idList = new List<String>();
for(loaner_application__c la : newList){
loaner_application__c old = oldMap.get(la.Id);
--
Gitblit v1.9.1