mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-22 16:03:15 +00:00
修正
This commit is contained in:
parent
b7cb4369d1
commit
c80576d046
|
@ -28,9 +28,8 @@ public interface DocumentDao {
|
|||
@Query("SELECT * FROM Document WHERE id IN (:ids)")
|
||||
List<DocumentEntity> findByIds(List<String> ids);
|
||||
|
||||
@Query("SELECT * FROM Document WHERE public_path = :publicPath")
|
||||
DocumentEntity findByPublicPath(String publicPath);
|
||||
|
||||
@Query("SELECT * FROM Document WHERE public_path = :publicPath LIMIT :limit")
|
||||
List<DocumentEntity> findByPublicPathWithLimit(String publicPath, int limit);
|
||||
|
||||
// Insert
|
||||
@Insert
|
||||
|
|
Loading…
Reference in New Issue
Block a user