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 selectByPage(String uname, Integer type, Timestamp start, Timestamp end, Integer limit, Integer offset); public List selectAll(); public DownlogEntity selectById(int id); public Integer insert(DownlogEntity entity); public Integer inserts(List list); public Integer delete(int id); public Integer deletes(List ids); public Integer update(DownlogEntity entity); public Integer updates(List list); }