| | |
| | | public with sharing class OCSMHandler extends Oly_TriggerHandler { |
| | | //LY 2021/11/12 start |
| | | //平台窗口1、2、3任何一个有变更都会触发客户人员接口,向共通平台发送 |
| | | public static void OCSMToUser(List<OCM_Management_Province__c> newList, Map<Id, OCM_Management_Province__c> newMap, List<OCM_Management_Province__c> oldList, Map<Id, OCM_Management_Province__c> oldMap){ |
| | | |
| | | public static void OCSMToUser( |
| | | List<OCM_Management_Province__c> newList, |
| | | Map<Id, OCM_Management_Province__c> newMap, |
| | | List<OCM_Management_Province__c> oldList, |
| | | Map<Id, OCM_Management_Province__c> oldMap |
| | | ) { |
| | | OCM_Management_Province__c old = null; |
| | | List<String> noList = new List<String>(); |
| | | for (OCM_Management_Province__c local : newList) { |
| | | |
| | | if (Trigger.isInsert) { |
| | | if (String.isNotBlank(local.OnlinePlatformWindow1__c)) { |
| | | noList.add(local.OnlinePlatformWindow1__c); |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | } |
| | | if (noList.size() > 0) { |
| | | NFM621Controller.callout('', noList); |
| | | NFM621Controller.callout('', noList); |
| | | } |
| | | } |
| | | } |
| | | //LY 2021/11/12 end |
| | | //LY 2021/11/12 end |