package com.mcwl.resource.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mcwl.resource.domain.DownloadRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author DaiZibo
 * @date 2025/3/6
 * @apiNote
 */

@Mapper
public interface DownloadRecordMapper extends BaseMapper<DownloadRecord> {

    void updateDownloadRecord(DownloadRecord downloadRecord);

    DownloadRecord selectDownloadByUser(@Param("userIdMax") Long userIdMax, @Param("id") Long id, @Param("i") int i);

}
