管道基础大数据平台系统开发-【后端】-Server
13693261870
2022-11-21 dfa4fd206b390a3afee9769fe1953b692a1eac9a
src/main/java/com/lf/server/mapper/sys/AttachMapper.java
@@ -47,7 +47,24 @@
    public AttachEntity selectById(int id);
    /**
     * 添加数据
     * 根据Guid查询
     *
     * @param guid
     * @return
     */
    public AttachEntity selectByGuid(String guid);
    /**
     * 根据表和GUID查询
     *
     * @param tab
     * @param guid
     * @return
     */
    public List<AttachEntity> selectByTab(String tab, String guid);
    /**
     * 插入一条
     *
     * @param entity
     * @return
@@ -55,7 +72,7 @@
    public Integer insert(AttachEntity entity);
    /**
     * 批量添加
     * 插入多条
     *
     * @param list
     * @return
@@ -63,7 +80,7 @@
    public Integer inserts(List<AttachEntity> list);
    /**
     * 刪除数据
     * 删除一条
     *
     * @param id
     * @return
@@ -71,7 +88,7 @@
    public Integer delete(int id);
    /**
     * 批量删除
     * 删除多条
     *
     * @param ids
     * @return
@@ -79,7 +96,7 @@
    public Integer deletes(List<Integer> ids);
    /**
     * 修改数据
     * 更新一条
     *
     * @param entity
     * @return
@@ -87,7 +104,7 @@
    public Integer update(AttachEntity entity);
    /**
     * 批量修改
     * 更新多条
     *
     * @param list
     * @return