|
|
@ -25,7 +25,7 @@ interface BookGroupDao { |
|
|
|
@get:Query("SELECT sum(groupId) FROM book_groups where groupId >= 0") |
|
|
|
@get:Query("SELECT sum(groupId) FROM book_groups where groupId >= 0") |
|
|
|
val idsSum: Long |
|
|
|
val idsSum: Long |
|
|
|
|
|
|
|
|
|
|
|
@get:Query("SELECT MAX(`order`) FROM book_groups") |
|
|
|
@get:Query("SELECT MAX(`order`) FROM book_groups where groupId >= 0") |
|
|
|
val maxOrder: Int |
|
|
|
val maxOrder: Int |
|
|
|
|
|
|
|
|
|
|
|
@get:Query("SELECT * FROM book_groups ORDER BY `order`") |
|
|
|
@get:Query("SELECT * FROM book_groups ORDER BY `order`") |
|
|
|