| | |
| | | package cn.huge.module.file.dao.mapper; |
| | | |
| | | import cn.huge.module.file.domain.dto.FileForCatDTO; |
| | | import cn.huge.module.file.domain.po.FileInfo; |
| | | import cn.huge.module.file.domain.po.FileRelate; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.springframework.data.domain.PageRequest; |
| | |
| | | */ |
| | | List<FileInfo> pageTerms(@Param("page") PageRequest page, @Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 查看附件组件-分类查询附件 |
| | | * @param terms 查询条件集合 |
| | | * @return List<FileInfo> |
| | | */ |
| | | List<FileForCatDTO> listFileByCatTerms(@Param("terms") Map<String, Object> terms); |
| | | |
| | | /** |
| | | * 根据多个编号查询 |
| | | * @param terms |
| | | * @return List<FileRelate> |
| | | */ |
| | | List<FileInfo> listByids(@Param("terms") Map<String, Object> terms, @Param("mainId") String mainId); |
| | | } |