def METHOD_NAME():
    """
    更新书籍信息
    """
    largest_id = Book.objects.aggregate(Max('id'))['id__max']
    if not largest_id:
        largest_id = 0
    with pymssql.connect(server=os.environ["LIB_DB_HOST"],
                         user=os.environ["LIB_DB_USER"],
                         password=os.environ["LIB_DB_PASSWORD"],
                         database=os.environ["LIB_DB"],
                         login_timeout=5) as conn:
        with conn.cursor(as_dict=True) as cursor:
            # 筛选新增数据
            cursor.execute(f'''SELECT MarcID,Title,Author,Publisher,ReqNo
                            FROM CircMarc WHERE MarcID>{largest_id}''')
            new_books = []
            for row in cursor:
                new_books.append(
                    Book(
                        id=row['MarcID'],
                        identity_code=row['ReqNo'],
                        title=row['Title'],
                        author=row['Author'],
                        publisher=row['Publisher'],
                    ))
            with transaction.atomic():
                Book.objects.bulk_create(new_books)