mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
修正
This commit is contained in:
1 file changed
+2
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user