DgFileMapper.java 740 Bytes
package com.pashanhoo.file.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pashanhoo.catalog.entity.vo.DgArchivesCatalogWithFileVO;
import com.pashanhoo.file.entity.DgFileDO;
import com.pashanhoo.file.entity.vo.DgFileListVO;
import com.pashanhoo.file.entity.vo.DgFileSearchRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 档案文件信息 Mapper 接口
 * </p>
 *
 * @author
 * @since 2021-11-05
 */
public interface DgFileMapper extends BaseMapper<DgFileDO> {

    /**
     * 查询附件以及名称和排序
     * @param request
     * @return
     */
    List<DgArchivesCatalogWithFileVO> selectCatalogWithFile(@Param("request") DgFileSearchRequest request);
}