Skip to content

Commit 3375837

Browse files
Update OpportunitiesSelector.cls
Cleaned up some stray tabbing
1 parent fff4be7 commit 3375837

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sfdx-source/apex-common-samplecode/main/classes/selectors/OpportunitiesSelector.cls

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,14 @@ public class OpportunitiesSelector extends fflib_SObjectSelector
8484
List<OpportunityInfo> opportunityInfos = new List<OpportunityInfo>();
8585

8686
for(Opportunity opportunity : Database.query( newQueryFactory(false)
87-
.selectField(Opportunity.Id)
88-
.selectField(Opportunity.StageName)
89-
.selectField(Opportunity.Amount)
90-
.selectField('Account.Name')
91-
.selectField('Account.AccountNumber')
92-
.selectField('Account.Owner.Name')
93-
.setCondition('id in :idSet')
94-
.toSOQL() ))
87+
.selectField(Opportunity.Id)
88+
.selectField(Opportunity.StageName)
89+
.selectField(Opportunity.Amount)
90+
.selectField('Account.Name')
91+
.selectField('Account.AccountNumber')
92+
.selectField('Account.Owner.Name')
93+
.setCondition('id in :idSet')
94+
.toSOQL() ))
9595
{
9696
opportunityInfos.add(new OpportunityInfo(opportunity));
9797
}
@@ -104,4 +104,4 @@ public class OpportunitiesSelector extends fflib_SObjectSelector
104104
return Database.getQueryLocator(
105105
newQueryFactory().setCondition(Opportunity.InvoicedStatus__c + ' = \'Ready\'').toSOQL());
106106
}
107-
}
107+
}

0 commit comments

Comments
 (0)