|
|
@ -236,6 +236,11 @@ public interface DaoFolder {
|
|
|
|
" WHERE account = :account AND type = :type")
|
|
|
|
" WHERE account = :account AND type = :type")
|
|
|
|
EntityFolder getFolderByType(long account, String type);
|
|
|
|
EntityFolder getFolderByType(long account, String type);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT folder.* FROM folder" +
|
|
|
|
|
|
|
|
" WHERE account = :account AND type = :type" +
|
|
|
|
|
|
|
|
" ORDER BY folder.id")
|
|
|
|
|
|
|
|
List<EntityFolder> getFoldersByType(long account, String type);
|
|
|
|
|
|
|
|
|
|
|
|
@Query("SELECT folder.* FROM folder" +
|
|
|
|
@Query("SELECT folder.* FROM folder" +
|
|
|
|
" JOIN account ON account.id = folder.account" +
|
|
|
|
" JOIN account ON account.id = folder.account" +
|
|
|
|
" WHERE account.synchronize" +
|
|
|
|
" WHERE account.synchronize" +
|
|
|
|