|
|
@@ -4,6 +4,7 @@ import cn.reghao.jutil.jdk.db.BaseMapper;
|
|
|
import cn.reghao.jutil.jdk.db.Page;
|
|
|
import cn.reghao.tnb.content.app.data.model.po.ImageFile;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -15,6 +16,6 @@ import java.util.List;
|
|
|
public interface ImageFileMapper extends BaseMapper<ImageFile> {
|
|
|
List<Integer> countByAlbumId(long albumId);
|
|
|
ImageFile findByUrl(String url);
|
|
|
- List<String> findImageFileIdsByPage(Page page, long albumId);
|
|
|
+ List<String> findImageFileIdsByPage(@Param("page") Page page, @Param("albumId") long albumId);
|
|
|
List<ImageFile> findByImageFileIds(List<String> list);
|
|
|
}
|