mirror of https://github.com/apache/cloudstack.git
bug 12602: Removed system account Id condition which is resulting in search by domainId
status 12602: resolved fixed reviewed-by: Abhi
This commit is contained in:
parent
b675a01741
commit
293535cba1
|
|
@ -83,7 +83,7 @@ public class UsageIPAddressDaoImpl extends GenericDaoBase<UsageIPAddressVO, Long
|
|||
|
||||
Long param1 = null;
|
||||
String sql = null;
|
||||
if (accountId != null && accountId != Account.ACCOUNT_ID_SYSTEM) {
|
||||
if (accountId != null) {
|
||||
sql = GET_USAGE_RECORDS_BY_ACCOUNT;
|
||||
param1 = accountId;
|
||||
} else if (domainId != null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue