| | |
| | | |
| | | system.debug('2222222'+getModelQuantityMap); |
| | | String accountDealerErrorMessage = RadiationUtil.updateCertificationDetails(oliList[0].Opportunity.DealerId__c, null, getModelQuantityMap, false); |
| | | String olympusDealerErrorMessage = RadiationUtil.updateCertificationDetails(olympusAccountId, null, getModelQuantityMap, false) == '' ? '' : '奥林巴斯可销售数量不足'; |
| | | //result = accountDealerErrorMessage + (olympusDealerErrorMessage == '' ? '' : '奥林巴斯可销售数量不足') ; |
| | | String olympusDealerErrorMessage = RadiationUtil.updateCertificationDetails(olympusAccountId, null, getModelQuantityMap, false) == '' ? '' : '仪景通可销售数量不足'; |
| | | //result = accountDealerErrorMessage + (olympusDealerErrorMessage == '' ? '' : '仪景通可销售数量不足') ; |
| | | Boolean temp = accountDealerErrorMessage.startsWith('你不能'); |
| | | String strOly = LicenseCheckUtil.LicenseCheckOly(); |
| | | if(temp){ |
| | |
| | | System.debug( !roleMap.containsKey(orOne.OpportunityId)); |
| | | System.debug(orOne.EndUserD__c + '++'+ roleMap.get(orOne.OpportunityId)); |
| | | |
| | | if(oppAccountMap.get(orOne.OpportunityId) != orOne.AccountId || !roleMap.containsKey(orOne.OpportunityId) || orOne.EndUserD__c != roleMap.get(orOne.OpportunityId)){ |
| | | /*if(oppAccountMap.get(orOne.OpportunityId) != orOne.AccountId || !roleMap.containsKey(orOne.OpportunityId) || orOne.EndUserD__c != roleMap.get(orOne.OpportunityId)){ |
| | | // 获取用户Id |
| | | String userId = UserInfo.getUserId().subString(0,15); |
| | | if (String.isNotBlank(getUserId)) { |
| | |
| | | } |
| | | |
| | | |
| | | } |
| | | }*/ |
| | | } |
| | | } |
| | | } |