mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
Dao修正のクエリ修正
This commit is contained in:
parent
878480097a
commit
5f731268b5
|
@ -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<LibraryEntity> findAll();
|
||||
|
||||
@Query("SELECT * FROM LibraryEntity WHERE id IN (:ids)")
|
||||
@Query("SELECT * FROM Library WHERE id IN (:ids)")
|
||||
List<LibraryEntity> findByIds(List<String> ids);
|
||||
|
||||
// WIP
|
||||
|
|
Loading…
Reference in New Issue
Block a user