From 61902b39c94e7893b1fadf1f9dbe61c525bb5a87 Mon Sep 17 00:00:00 2001 From: pfk4vawr6 <3120584253@qq.com> Date: Mon, 10 Apr 2023 21:06:22 +0800 Subject: [PATCH] Update IVisitorDao.java --- src/main/java/com/dao/IVisitorDao.java | 29 ++++---------------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/src/main/java/com/dao/IVisitorDao.java b/src/main/java/com/dao/IVisitorDao.java index ae2bcd4..36d934f 100644 --- a/src/main/java/com/dao/IVisitorDao.java +++ b/src/main/java/com/dao/IVisitorDao.java @@ -7,37 +7,16 @@ import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; -/** - * @ClassName IVisitorDao - * @Description TODO - * @Author YHT - * @Date 2021/7/9 21:45 - */ + @Repository public interface IVisitorDao { - /** - * 查询所有访客信息 - * @param page - * @return - */ + List listVisitor(Page page); - /** - * 获取记录总数 - * @return - */ int getVisitorTotal(); - /** - * 添加访客信息 - * @param visitor - */ + void addVisitor(Visitor visitor); - /** - * 根据姓名查询访客信息 - * @param map - * @return - */ - List searchByName(Map map); + Visitor> searchByName(Map map); }