package com.moon.server.mapper.sys;
|
|
import com.moon.server.entity.sys.DownlogEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.stereotype.Repository;
|
|
import java.sql.Timestamp;
|
import java.util.List;
|
|
@Mapper
|
@Repository
|
@SuppressWarnings("ALL")
|
public interface DownlogMapper {
|
public Integer selectCount(String uname, Integer type, Timestamp start, Timestamp end);
|
|
public List<DownlogEntity> selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer limit, Integer offset);
|
|
public List<DownlogEntity> selectAll();
|
|
public DownlogEntity selectById(int id);
|
|
public Integer insert(DownlogEntity entity);
|
|
public Integer inserts(List<DownlogEntity> list);
|
|
public Integer delete(int id);
|
|
public Integer deletes(List<Integer> ids);
|
|
public Integer update(DownlogEntity entity);
|
|
public Integer updates(List<DownlogEntity> list);
|
}
|