mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-5089: fixed VPCDao to set the accountId field correctly
This commit is contained in:
parent
4e632afd55
commit
17c0cb48e1
|
|
@ -68,7 +68,7 @@ public class VpcDaoImpl extends GenericDaoBase<VpcVO, Long> implements VpcDao{
|
|||
|
||||
CountByAccountId = createSearchBuilder(Long.class);
|
||||
CountByAccountId.select(null, Func.COUNT, CountByAccountId.entity().getId());
|
||||
CountByAccountId.and("offeringId", CountByAccountId.entity().getAccountId(), Op.EQ);
|
||||
CountByAccountId.and("accountId", CountByAccountId.entity().getAccountId(), Op.EQ);
|
||||
CountByAccountId.and("removed", CountByAccountId.entity().getRemoved(), Op.NULL);
|
||||
CountByAccountId.done();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue