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:
kishan 2011-12-21 16:12:01 +05:30
parent b675a01741
commit 293535cba1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {