|
@@ -163,7 +163,7 @@ SELECT id,(@a:=@a+1) as sequence FROM zy_book_chapters,(SELECT @a:=0) as a WHERE
|
|
|
|
|
|
book_info = self.get_base_info(bid)
|
|
|
book_sql = '''
|
|
|
- update zw_books set size={},chapter_count={},first_cid={},last_cid={},last_chapter='{}' where id = {}
|
|
|
+ update zy_books set size={},chapter_count={},first_cid={},last_cid={},last_chapter='{}' where id = {}
|
|
|
'''.format(book_info['size'],book_info['chapter_count'],book_info['first_cid'],book_info['last_cid'],book_info['last_chapter'],bid)
|
|
|
|
|
|
self.simple_update(book_sql)
|