心得用户个人信息的查询和更改

This commit is contained in:
muamua
2018-10-13 16:46:59 +08:00
parent 3049b3c0b4
commit a1d88bbe9c
5 changed files with 67 additions and 11 deletions

View File

@@ -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);
}