package cn.reghao.tnb.file.app.db.mapper;

import cn.reghao.jutil.jdk.web.db.BaseMapper;
import cn.reghao.jutil.jdk.web.db.Page;
import cn.reghao.tnb.file.app.model.po.LocalFile;
import cn.reghao.tnb.file.app.model.vo.FileQuery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author reghao
 * @date 2025-12-05 09:28:28
 */
@Mapper
public interface LocalFileMapper extends BaseMapper<LocalFile> {
    int countByFileQuery(FileQuery fileQuery);
    List<LocalFile> findFileQueryByPage(@Param("page") Page page, @Param("fileQuery") FileQuery fileQuery);
}
