Bug 13692: Query was giving cluster id weven when it was pod level information.

Reviewed-By: Kishan
This commit is contained in:
Nitin Mehta 2012-02-16 14:47:15 +05:30
parent 25165b0879
commit 2e92688b00
1 changed files with 2 additions and 2 deletions

View File

@ -247,8 +247,8 @@ public class CapacityDaoImpl extends GenericDaoBase<CapacityVO, Long> implements
while (rs.next()) {
SummedCapacity summedCapacity = new SummedCapacity( rs.getLong(1), rs.getLong(2), rs.getFloat(3),
(short)rs.getLong(4), rs.getLong(5),
level == 3 ? rs.getLong(7): null,
level != 1 ? rs.getLong(6): null);
level != 1 ? rs.getLong(6): null,
level == 3 ? rs.getLong(7): null);
result.add(summedCapacity);
}