From 47fa05022d1885e628e7cfb1edc53f6eef8e8318 Mon Sep 17 00:00:00 2001 From: pqyt64hnf <2543568107@qq.com> Date: Sun, 30 Apr 2023 01:00:21 +0800 Subject: [PATCH] ADD file via upload --- src/main/java/com/dao/AdminInfoDao.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/java/com/dao/AdminInfoDao.java diff --git a/src/main/java/com/dao/AdminInfoDao.java b/src/main/java/com/dao/AdminInfoDao.java new file mode 100644 index 0000000..8ae3436 --- /dev/null +++ b/src/main/java/com/dao/AdminInfoDao.java @@ -0,0 +1,18 @@ +package com.example.dao; + +import com.example.entity.AdminInfo; +import com.example.vo.AdminInfoVo; +import org.apache.ibatis.annotations.Param; +import org.springframework.stereotype.Repository; +import tk.mybatis.mapper.common.Mapper; + +import java.util.List; + +@Repository +public interface AdminInfoDao extends Mapper { + List findByName(@Param("name") String name); + + int checkRepeat(String column, String value, Long id); + AdminInfoVo findByUsername(String username); + Integer count(); +}