管道基础大数据平台系统开发-【后端】-Server
12
13693261870
2022-11-21 07a68b8d93aa059968a9709f2c81e6625338032c
src/main/java/com/lf/server/mapper/data/DownloadMapper.java
@@ -32,6 +32,26 @@
    public List<DownloadEntity> selectByPage(String name, Integer limit, Integer offset);
    /**
     * 根据用户ID查询记录数(在线制图)
     *
     * @param createUser 用户ID
     * @param name       名称
     * @return 记录数
     */
    public Integer selectCountForExport(Integer createUser, String name);
    /**
     * 根据用户ID分页查询(在线制图)
     *
     * @param createUser 用户ID
     * @param name       名称
     * @param limit      记录表
     * @param offset     偏移量
     * @return 列表
     */
    public List<DownloadEntity> selectByPageForExport(Integer createUser, String name, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
@@ -47,7 +67,15 @@
    public DownloadEntity selectById(int id);
    /**
     * 添加数据
     * 根据Guid查询
     *
     * @param guid
     * @return
     */
    public DownloadEntity selectByGuid(String guid);
    /**
     * 插入一条
     *
     * @param entity
     * @return
@@ -55,7 +83,7 @@
    public Integer insert(DownloadEntity entity);
    /**
     * 批量添加
     * 插入多条
     *
     * @param list
     * @return
@@ -63,7 +91,7 @@
    public Integer inserts(List<DownloadEntity> list);
    /**
     * 刪除数据
     * 删除一条
     *
     * @param id
     * @return
@@ -71,7 +99,7 @@
    public Integer delete(int id);
    /**
     * 批量删除
     * 删除多条
     *
     * @param ids
     * @return
@@ -79,7 +107,7 @@
    public Integer deletes(List<Integer> ids);
    /**
     * 修改数据
     * 更新一条
     *
     * @param entity
     * @return
@@ -87,7 +115,7 @@
    public Integer update(DownloadEntity entity);
    /**
     * 批量修改
     * 更新多条
     *
     * @param list
     * @return