class GroupService {

    public boolean isInSuperGroup(String userNo) throws SQLException {
        LoginUser user = loginUserDao.getUserByNo(userNo);
        List<UserGroup> groups = userGroupDao.getUserGroupByUserId(user.getId());
        if (CollectionUtils.isNotEmpty(groups)) {
            return groups.stream().anyMatch(group -> group.getUser_id().equals(consts.SUPER_GROUP_ID));
        }
        return false;
    }

}