mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-23 00:13:16 +00:00
クエリ修正
This commit is contained in:
parent
904ae8d39f
commit
dafb49cca0
|
@ -21,7 +21,7 @@ public interface VcsRevDao {
|
|||
@Query("SELECT * FROM vcs_rev WHERE id IN (:ids)")
|
||||
List<VcsRevEntity> findByIds(List<String> ids);
|
||||
|
||||
@Query("SELECT * FROM vcs_rev WHERE document_id = :documentId")
|
||||
@Query("SELECT * FROM vcs_rev WHERE document_id = :documentId ORDER BY created_at ASC")
|
||||
List<VcsRevEntity> findByDocumentId(String documentId);
|
||||
|
||||
@Query("SELECT * FROM vcs_rev WHERE document_id = :documentId ORDER BY created_at DESC LIMIT 1")
|
||||
|
|
Loading…
Reference in New Issue
Block a user