|
@@ -146,7 +146,7 @@ public class GroupLogicImpl extends BaseLogic implements GroupLogic {
|
|
|
throw new HttpNotFoundException(String.format("Group[id=%s] doesn't exist", groupId));
|
|
throw new HttpNotFoundException(String.format("Group[id=%s] doesn't exist", groupId));
|
|
|
}
|
|
}
|
|
|
GroupVO groupVO = Converter.convert(GroupVO.class,group);
|
|
GroupVO groupVO = Converter.convert(GroupVO.class,group);
|
|
|
- groupVO.setWorkerCount(this.getManagerWorkersInGroup(groupId).size());
|
|
|
|
|
|
|
+ groupVO.setWorkerCount(groupService.getWorkerCount(groupId));
|
|
|
return groupVO;
|
|
return groupVO;
|
|
|
}
|
|
}
|
|
|
|
|
|