1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

用户注册功能实现;用户表添加email字段

This commit is contained in:
2022-04-04 14:36:56 +08:00
parent 3af1b80d2a
commit 71feaffeb9
16 changed files with 581 additions and 219 deletions

View File

@@ -3,7 +3,7 @@ package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.CategoryDO;
@Repository
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface CategoryDOMapper {
/**
* This method was generated by MyBatis Generator.

View File

@@ -3,7 +3,7 @@ package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.FileDO;
@Repository
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface FileDOMapper {
/**
* This method was generated by MyBatis Generator.

View File

@@ -3,7 +3,7 @@ package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.FileObjectDO;
@Repository
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface FileObjectDOMapper {
/**
* This method was generated by MyBatis Generator.

View File

@@ -1,7 +1,9 @@
package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.ThirdPartyUserAuthDO;
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface ThirdPartyUserAuthDOMapper {
/**
* This method was generated by MyBatis Generator.

View File

@@ -1,7 +1,9 @@
package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.ThirdPartyUserDO;
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface ThirdPartyUserDOMapper {
/**
* This method was generated by MyBatis Generator.

View File

@@ -3,7 +3,7 @@ package plus.bookshelf.Dao.Mapper;
import org.springframework.stereotype.Repository;
import plus.bookshelf.Dao.DO.UserDO;
@Repository
@Repository // 添加这个注解Autowired的时候idea就不会报错了
public interface UserDOMapper {
/**
* This method was generated by MyBatis Generator.
@@ -54,4 +54,12 @@ public interface UserDOMapper {
int updateByPrimaryKey(UserDO record);
UserDO selectByUsernameAndEncryptpwd(String username, String encryptPwd);
/**
* 获取是否存在该用户,用于注册时判断
* 若用户存在则返回大于0的整数否则返回0
* @param username
* @return
*/
Integer selectCountByUsername(String username);
}