Show operation account

This commit is contained in:
M66B
2019-02-11 14:59:41 +00:00
parent eed6f8010b
commit 8398e23d78
2 changed files with 5 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ public interface DaoOperation {
" FROM operation" +
" JOIN folder ON folder.id = operation.folder" +
" LEFT JOIN message ON message.id = operation.message" +
" LEFT JOIN account ON account.id = message.account" +
" LEFT JOIN account ON account.id = message.account OR account.id = folder.account" +
" LEFT JOIN identity ON identity.id = message.identity" +
" ORDER BY" +
" CASE WHEN operation.name = '" + EntityOperation.SYNC + "' THEN" +