管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-05-26 0ebc3b238ba7ce52e92ea575f10c12c76d125b26
src/main/java/com/lf/server/mapper/data/DownloadMapper.java
@@ -25,11 +25,33 @@
     * 分页查询
     *
     * @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);
    /**
     * 查询所有
@@ -47,7 +69,15 @@
    public DownloadEntity selectById(int id);
    /**
     * 添加数据
     * 根据Guid查询
     *
     * @param guid
     * @return
     */
    public DownloadEntity selectByGuid(String guid);
    /**
     * 插入一条
     *
     * @param entity
     * @return
@@ -55,7 +85,7 @@
    public Integer insert(DownloadEntity entity);
    /**
     * 批量添加
     * 插入多条
     *
     * @param list
     * @return
@@ -63,7 +93,7 @@
    public Integer inserts(List<DownloadEntity> list);
    /**
     * 刪除数据
     * 删除一条
     *
     * @param id
     * @return
@@ -71,7 +101,7 @@
    public Integer delete(int id);
    /**
     * 批量删除
     * 删除多条
     *
     * @param ids
     * @return
@@ -79,7 +109,7 @@
    public Integer deletes(List<Integer> ids);
    /**
     * 修改数据
     * 更新一条
     *
     * @param entity
     * @return
@@ -87,7 +117,7 @@
    public Integer update(DownloadEntity entity);
    /**
     * 批量修改
     * 更新多条
     *
     * @param list
     * @return