Update RssSourceDao.kt

This commit is contained in:
Xwite 2022-11-01 14:21:28 +08:00 committed by GitHub
parent 22d16405e3
commit efd8efad85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ interface RssSourceDao {
@Query("select * from rssSources where sourceUrl in (:sourceUrls)")
fun getRssSources(vararg sourceUrls: String): List<RssSource>
@get:Query("SELECT * FROM rssSources")
@get:Query("SELECT * FROM rssSources order by customOrder")
val all: List<RssSource>
@get:Query("select count(sourceUrl) from rssSources")
@ -135,4 +135,4 @@ interface RssSourceDao {
dealGroups(list)
}
}
}
}