mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +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)")
|
@Query("SELECT * FROM Document WHERE id IN (:ids)")
|
||||||
List<DocumentEntity> findByIds(List<String> ids);
|
List<DocumentEntity> findByIds(List<String> ids);
|
||||||
|
|
||||||
@Query("SELECT * FROM Document WHERE public_path = :publicPath")
|
@Query("SELECT * FROM Document WHERE public_path = :publicPath LIMIT :limit")
|
||||||
DocumentEntity findByPublicPath(String publicPath);
|
List<DocumentEntity> findByPublicPathWithLimit(String publicPath, int limit);
|
||||||
|
|
||||||
|
|
||||||
// Insert
|
// Insert
|
||||||
@Insert
|
@Insert
|
||||||
|
|
Loading…
Reference in New Issue
Block a user