feat: 优化代码

pull/133/head
kunfei 5 years ago
parent b6726c813e
commit e8844d9300
  1. 4
      app/src/main/java/io/legado/app/data/dao/BookDao.kt

@ -74,7 +74,9 @@ interface BookDao {
@Query( @Query(
""" """
update books set durChapterIndex = :durChapterIndex, durChapterPos = :durChapterPos, durChapterTitle = :durChapterTitle update books set
durChapterIndex = :durChapterIndex, durChapterPos = :durChapterPos,
durChapterTime = :durChapterTime, durChapterTitle = :durChapterTitle
where bookUrl = :bookUrl and durChapterTime < :durChapterTime where bookUrl = :bookUrl and durChapterTime < :durChapterTime
""" """
) )

Loading…
Cancel
Save