月球大数据地理空间分析展示平台-【后端】-月球后台服务
1
13693261870
2024-11-13 eb40365c9cffb2269fd3cbd31b050c33455bc84a
src/main/java/com/moon/server/mapper/sys/DownlogMapper.java
@@ -7,97 +7,27 @@
import java.sql.Timestamp;
import java.util.List;
/**
 * 下载日志
 * @author WWW
 */
@Mapper
@Repository
@SuppressWarnings("ALL")
public interface DownlogMapper {
    /**
     * 查询记录数
     *
     * @param uname
     * @param type
     * @param start
     * @param end
     * @return
     */
    public Integer selectCount(String uname, Integer type, Timestamp start, Timestamp end);
    /**
     * 分页查询
     *
     * @param uname
     * @param type
     * @param start
     * @param end
     * @param limit
     * @param offset
     * @return
     */
    public List<DownlogEntity> selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer limit, Integer offset);
    /**
     * 查询所有
     *
     * @return
     */
    public List<DownlogEntity> selectAll();
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    public DownlogEntity selectById(int id);
    /**
     * 插入一条
     *
     * @param entity
     * @return
     */
    public Integer insert(DownlogEntity entity);
    /**
     * 插入多条
     *
     * @param list
     * @return
     */
    public Integer inserts(List<DownlogEntity> list);
    /**
     * 删除一条
     *
     * @param id
     * @return
     */
    public Integer delete(int id);
    /**
     * 删除多条
     *
     * @param ids
     * @return
     */
    public Integer deletes(List<Integer> ids);
    /**
     * 更新一条
     *
     * @param entity
     * @return
     */
    public Integer update(DownlogEntity entity);
    /**
     * 更新多条
     *
     * @param list
     * @return
     */
    public Integer updates(List<DownlogEntity> list);
}