From 9c308790841bca2c358e3bf4bb7b42ff74d84645 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:00:05 +0900 Subject: [PATCH] =?UTF-8?q?TagDao:=20=E5=85=A8=E4=BD=93=E7=9A=84=E3=81=ABA?= =?UTF-8?q?rrayList=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/one/nem/lacerta/source/database/dao/TagDao.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 850d22ec..8a585178 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 @@ -6,6 +6,7 @@ import androidx.room.Insert; import androidx.room.Query; import androidx.room.Update; +import java.util.ArrayList; import java.util.List; import one.nem.lacerta.source.database.entity.TagEntity; @@ -19,10 +20,10 @@ public interface TagDao { TagEntity findById(String id); @Query("SELECT * FROM TagEntity") - List findAll(); + ArrayList findAll(); @Query("SELECT * FROM TagEntity WHERE id IN (:ids)") - List findByIds(List ids); + ArrayList findByIds(ArrayList ids); // Insert @Insert