From 5f731268b5c001ad2d82d86e694062dd24f98d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 11:13:03 +0900 Subject: [PATCH] =?UTF-8?q?Dao=E4=BF=AE=E6=AD=A3=E3=81=AE=E3=82=AF?= =?UTF-8?q?=E3=82=A8=E3=83=AA=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../one/nem/lacerta/source/database/dao/LibraryDao.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java b/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java index ddb74188..8948b9dd 100644 --- a/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java +++ b/source/src/main/java/one/nem/lacerta/source/database/dao/LibraryDao.java @@ -10,13 +10,13 @@ import one.nem.lacerta.source.database.entity.LibraryEntity; @Dao public interface LibraryDao { - @Query("SELECT * FROM LibraryEntity WHERE id = :id") + @Query("SELECT * FROM Library WHERE id = :id") LibraryEntity findById(String id); - @Query("SELECT * FROM LibraryEntity") + @Query("SELECT * FROM Library") List findAll(); - @Query("SELECT * FROM LibraryEntity WHERE id IN (:ids)") + @Query("SELECT * FROM Library WHERE id IN (:ids)") List findByIds(List ids); // WIP