diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java index 8a585178..dd292928 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/TagDao.java @@ -16,13 +16,13 @@ public interface TagDao { // Select - @Query("SELECT * FROM TagEntity WHERE id = :id") + @Query("SELECT * FROM Tag WHERE id = :id") TagEntity findById(String id); - @Query("SELECT * FROM TagEntity") + @Query("SELECT * FROM Tag") ArrayList findAll(); - @Query("SELECT * FROM TagEntity WHERE id IN (:ids)") + @Query("SELECT * FROM Tag WHERE id IN (:ids)") ArrayList findByIds(ArrayList ids); // Insert @@ -55,6 +55,6 @@ public interface TagDao { @Delete void deleteAll(List tags); - @Query("DELETE FROM TagEntity WHERE id = :id") + @Query("DELETE FROM Tag WHERE id = :id") void deleteById(String id); }