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