|
@@ -17,6 +17,6 @@ public interface PostItemMapper extends BaseMapper<PostItem> {
|
|
|
void deleteByAlbumIdAndPostId(@Param("albumId") long albumId, @Param("postId") String postId);
|
|
void deleteByAlbumIdAndPostId(@Param("albumId") long albumId, @Param("postId") String postId);
|
|
|
|
|
|
|
|
int countByAlbumId(long albumId);
|
|
int countByAlbumId(long albumId);
|
|
|
- List<PostItem> findByAlbumIdByPage(Page page, long albumId);
|
|
|
|
|
- PostItem findByImagePost(String imageFileId, long createBy);
|
|
|
|
|
|
|
+ List<PostItem> findByAlbumIdByPage(@Param("page") Page page, @Param("albumId") long albumId);
|
|
|
|
|
+ PostItem findByImagePost(@Param("imageFileId") String imageFileId, @Param("createBy") long createBy);
|
|
|
}
|
|
}
|