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

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

/**
 * @author reghao
 * @date 2024-10-24 16:35:48
 */
@Mapper
public interface FileMultipartMapper extends BaseMapper<FileMultipart> {
    void updateSetUploaded(String sha256sum);
    FileMultipart findBySha256sumAndUploadBy(@Param("sha256sum") String sha256sum, @Param("uploadBy") int uploadBy);
}
