package com.ga.common.file;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FileMapper {
    int insert(FileVO vo);
    FileVO selectById(@Param("fileId") Long fileId);
    List<FileVO> selectByGroup(@Param("fileGroup") String fileGroup);
    int markDeleted(@Param("fileId") Long fileId);
    int incrementDownloadCount(@Param("fileId") Long fileId);
}
