package com.yc.education.mapper;

import com.yc.education.model.Admins;
import com.yc.education.util.MyMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@MapperScan
public interface AdminsMapper extends MyMapper<Admins> {
	//查询当前登录账户是否存在  Lock-玄清
	public Admins findexist(String name, String pwd);

	//查询全部
	public List<Admins> findall();
}