Update RssSourceDao.kt
This commit is contained in:
@@ -17,7 +17,7 @@ interface RssSourceDao {
|
|||||||
@Query("select * from rssSources where sourceUrl in (:sourceUrls)")
|
@Query("select * from rssSources where sourceUrl in (:sourceUrls)")
|
||||||
fun getRssSources(vararg sourceUrls: String): List<RssSource>
|
fun getRssSources(vararg sourceUrls: String): List<RssSource>
|
||||||
|
|
||||||
@get:Query("SELECT * FROM rssSources")
|
@get:Query("SELECT * FROM rssSources order by customOrder")
|
||||||
val all: List<RssSource>
|
val all: List<RssSource>
|
||||||
|
|
||||||
@get:Query("select count(sourceUrl) from rssSources")
|
@get:Query("select count(sourceUrl) from rssSources")
|
||||||
@@ -135,4 +135,4 @@ interface RssSourceDao {
|
|||||||
dealGroups(list)
|
dealGroups(list)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user