mirror of
https://github.com/leanote/leanote-android.git
synced 2025-10-16 15:28:38 +00:00
fix delete note on other platform but it still remains
This commit is contained in:
@@ -113,6 +113,7 @@ public class AppDataBase {
|
|||||||
.and(Note_Table.userId.eq(userId))
|
.and(Note_Table.userId.eq(userId))
|
||||||
.and(Note_Table.isTrash.eq(false))
|
.and(Note_Table.isTrash.eq(false))
|
||||||
.and(Note_Table.isDeleted.eq(false))
|
.and(Note_Table.isDeleted.eq(false))
|
||||||
|
.and(Note_Table.isTrash.eq(false))
|
||||||
.queryList();
|
.queryList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,6 +131,7 @@ public class AppDataBase {
|
|||||||
.where(Note_Table.userId.eq(userId))
|
.where(Note_Table.userId.eq(userId))
|
||||||
.and(Note_Table.isTrash.eq(false))
|
.and(Note_Table.isTrash.eq(false))
|
||||||
.and(Note_Table.isDeleted.eq(false))
|
.and(Note_Table.isDeleted.eq(false))
|
||||||
|
.and(Note_Table.isTrash.eq(false))
|
||||||
.queryList();
|
.queryList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user