Files
blog-backEnd/src/main/java/cn/celess/blog/mapper/VisitorMapper.java
2020-05-25 00:02:26 +08:00

27 lines
494 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package cn.celess.blog.mapper;
import cn.celess.blog.entity.Visitor;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import java.util.List;
/**
* @Author: 小海
* @Date 2019/07/03 00:23
* @Description
*/
@Repository
@Mapper
public interface VisitorMapper {
int insert(Visitor visitor);
int delete(long id);
List<Visitor> findAll();
List<Visitor> findAllNotDeleted();
long count();
}