| | |
| | | licenseInfo.IsFromSPO__c = true; |
| | | licenseInfo.Scope__c = gdds.BusinessScope; |
| | | licenseInfo.Scope3__c = gdds.BusinessScope1; |
| | | system.debug('licenseInfo0110'+licenseInfo); |
| | | licenseInfoUpsertList.add(licenseInfo); |
| | | |
| | | //对"经销商"主数据中的"营业许可证书状况"的相关字段进行赋值 |
| | |
| | | if (rowData.retry_cnt__c == null) rowData.retry_cnt__c = 0; |
| | | if (rowData.retry_cnt__c < batch_retry_max_cnt) { |
| | | rowData.retry_cnt__c++; |
| | | LogAutoSendSchedule.assignOneMinute(); |
| | | if(!Test.isRunningTest()){ |
| | | LogAutoSendSchedule.assignOneMinute(); |
| | | } |
| | | } |
| | | if (rowData.retry_cnt__c >= batch_retry_max_cnt) { |
| | | rowData.ErrorLog__c = ex.getMessage() + '\n' + ex.getStackTraceString() + '\n' + rowData.ErrorLog__c + '错误次数已经超过自动收信设定的最大次数,请手动收信'; |