| | |
| | | // 医院 客户人员 统一平台编码有值 发送 PO |
| | | if ('01210000000QfWdAAK'.equals(local.RecordTypeId) && String.isNotBlank(local.UnifiedI_Contact_ID__c)) { |
| | | if (!NFM606_IdMap.containsKey(local.Id)) { |
| | | if(UserInfo.getUserId().equals(System.Label.interfaceUserID)){ |
| | | if(UserInfo.getProfileId().equals(System.Label.ProfileId_SystemAdmin)){ |
| | | interfaceUserUpsertContact.add(local.Id); |
| | | } else { |
| | | contactIdList.add(local.Id); |
| | |
| | | // 经销商 客户人员 手机号码有值 发送 PO |
| | | if ('01210000000QfWiAAK'.equals(local.RecordTypeId) && String.isNotBlank(local.MobilePhone)) { |
| | | if (!NFM606_IdMap.containsKey(local.Id)) { |
| | | if(UserInfo.getUserId().equals(System.Label.interfaceUserID)){ |
| | | if(UserInfo.getProfileId().equals(System.Label.ProfileId_SystemAdmin)){ |
| | | interfaceUserUpsertContact.add(local.Id); |
| | | } else { |
| | | contactIdList.add(local.Id); |