mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
新增管理员的注册、登录、更改密码接口
This commit is contained in:
@@ -1,17 +1,21 @@
|
||||
package cn.mafangui.hotel.mapper;
|
||||
|
||||
import cn.mafangui.hotel.entity.Admin;
|
||||
import jdk.internal.dynalink.linker.LinkerServices;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Component
|
||||
public interface AdminMapper {
|
||||
int deleteByPrimaryKey(Integer adminId);
|
||||
|
||||
int insert(Admin record);
|
||||
|
||||
int insertSelective(Admin record);
|
||||
|
||||
Admin selectByPrimaryKey(Integer adminId);
|
||||
|
||||
int updateByPrimaryKeySelective(Admin record);
|
||||
|
||||
int updateByPrimaryKey(Admin record);
|
||||
Admin selectByUserName(String userName);
|
||||
Admin selectByUserNameAndPassword(Admin admin);
|
||||
int updateByUserNameSelective(Admin record);
|
||||
List<Admin> findAll();
|
||||
}
|
||||
Reference in New Issue
Block a user