管道基础大数据平台系统开发-【后端】-Server
13693261870
2023-01-05 43f760eb9dff0d983d58dc801772877f9cb1865f
src/main/java/com/lf/server/mapper/data/MetaMapper.java
@@ -16,20 +16,24 @@
    /**
     * 查询记录数
     *
     * @param name 名称
     * @param depid 单位ID
     * @param dirid 目录ID
     * @param name  名称
     * @return 记录数
     */
    public Integer selectCount(String name);
    public Integer selectCount(Integer depid, Integer dirid, String name);
    /**
     * 分页查询
     *
     * @param depid  单位ID
     * @param dirid  目录ID
     * @param name   名称
     * @param limit  记录表
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<MetaEntity> selectByPage(String name, Integer limit, Integer offset);
    public List<MetaEntity> selectByPage(Integer depid, Integer dirid, String name, Integer limit, Integer offset);
    /**
     * 查询上传记录数
@@ -47,7 +51,7 @@
     * @param name       名称
     * @param createUser 用户ID
     * @param types      文件类型
     * @param limit      记录表
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
@@ -69,6 +73,22 @@
    public MetaEntity selectById(int id);
    /**
     * 根据GUID查询
     *
     * @param guid 文件GUID
     * @return
     */
    public MetaEntity selectByGuid(String guid);
    /**
     * 查询元数据文件
     *
     * @param ids 元数据ID集合
     * @return 元数据文件集合
     */
    public List<MetaEntity> selectMetaFiles(List<Integer> ids);
    /**
     * 插入一条
     *
     * @param entity