mirror of
https://github.com/FreeeBird/hotel.git
synced 2025-11-02 21:44:50 +08:00
心得用户个人信息的查询和更改
This commit is contained in:
@@ -6,16 +6,12 @@ import org.springframework.stereotype.Component;
|
||||
@Component
|
||||
public interface UserMapper {
|
||||
int deleteByPrimaryKey(Integer userId);
|
||||
|
||||
int insert(User record);
|
||||
|
||||
int insertSelective(User record);
|
||||
|
||||
User selectByPrimaryKey(Integer userId);
|
||||
|
||||
int updateByPrimaryKeySelective(User record);
|
||||
|
||||
int updateByPrimaryKey(User record);
|
||||
|
||||
User selectByUserNameAndPassword(User user);
|
||||
User selectByUserName(String userName);
|
||||
int updateByUserNameSelective(User record);
|
||||
}
|
||||
Reference in New Issue
Block a user