reformat by spotless

pull/835/head
blackbracken 1 year ago
parent e9a16e437d
commit b570be2abb

@ -70,7 +70,7 @@ interface NewsResourceDao {
*/ */
@Transaction @Transaction
@Query( @Query(
value = """ value = """
SELECT id FROM news_resources SELECT id FROM news_resources
WHERE WHERE
CASE WHEN :useFilterNewsIds CASE WHEN :useFilterNewsIds
@ -87,7 +87,8 @@ interface NewsResourceDao {
ELSE 1 ELSE 1
END END
ORDER BY publish_date DESC ORDER BY publish_date DESC
""") """,
)
fun getNewsResourceIds( fun getNewsResourceIds(
useFilterTopicIds: Boolean = false, useFilterTopicIds: Boolean = false,
filterTopicIds: Set<String> = emptySet(), filterTopicIds: Set<String> = emptySet(),

Loading…
Cancel
Save