管道基础大数据平台系统开发-【后端】-Server
13693261870
2025-07-02 ed8c7a5effd0d423ce1118b680ecdca6fe732609
src/main/java/com/lf/server/mapper/data/DownloadMapper.java
@@ -1,7 +1,6 @@
package com.lf.server.mapper.data;
import com.lf.server.entity.data.DownloadEntity;
import com.lf.server.entity.sys.AttachEntity;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
@@ -26,13 +25,35 @@
     * 分页查询
     *
     * @param name   名称
     * @param limit  记录表
     * @param limit  记录数
     * @param offset 偏移量
     * @return 列表
     */
    public List<DownloadEntity> selectByPage(String name, Integer limit, Integer offset);
    /**
     * 根据用户ID查询记录数(在线制图)
     *
     * @param createUser 用户ID
     * @param types      类别
     * @param name       名称
     * @return 记录数
     */
    public Integer selectCountForUser(Integer createUser, String types, String name);
    /**
     * 根据用户ID分页查询(在线制图)
     *
     * @param createUser 用户ID
     * @param types      类别
     * @param name       名称
     * @param limit      记录数
     * @param offset     偏移量
     * @return 列表
     */
    public List<DownloadEntity> selectByPageForUser(Integer createUser, String types, String name, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return