class ServerGroupDao extends BaseDao {

    public Long getServerGroupTotalCount(Paging<ServerGroup> paging) throws SQLException {
        String sql = "SELECT count(1) FROM server_group t1 " +
                "left join login_users t2 on t1.update_user_no = t2.user_no " + appenWhere(paging);
        return this.getCount(sql);
    }

}