package cn.reghao.tnb.oss.store.db.mapper;

import cn.reghao.tnb.oss.store.model.po.DataBlock;
import cn.reghao.jutil.jdk.web.db.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author reghao
 * @date 2022-11-24 11:11:24
 */
@Mapper
public interface DataBlockMapper extends BaseMapper<DataBlock> {
    List<DataBlock> findDataBlocks(@Param("pageSize") int pageSize, @Param("nextId") int nextId);
    DataBlock findByContentId(String contentId);
}
