Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit af0d5c7b
authored
Jul 10, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix runtime error
1 parent
93b096b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
17 deletions
project-user/src/main/java/com/dituhui/pea/user/dao/UserDao.java
project-user/src/main/java/com/dituhui/pea/user/dao/UserDao.java
View file @
af0d5c7
package
com
.
dituhui
.
pea
.
user
.
dao
;
package
com
.
dituhui
.
pea
.
user
.
dao
;
import
com.dituhui.pea.user.entity.UserEntity
;
import
java.util.List
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.JpaRepository
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.repository.CrudRepository
;
import
org.springframework.data.repository.CrudRepository
;
import
java.util.List
;
import
com.dituhui.pea.user.entity.UserEntity
;
import
java.util.Optional
;
/**
/**
* 用户表(User)表数据库访问层
* 用户表(User)表数据库访问层
...
@@ -47,20 +47,6 @@ public interface UserDao extends JpaRepository<UserEntity, String>,
...
@@ -47,20 +47,6 @@ public interface UserDao extends JpaRepository<UserEntity, String>,
List
<
UserEntity
>
findByWechatMiniProgram
(
String
wechatMiniProgram
);
List
<
UserEntity
>
findByWechatMiniProgram
(
String
wechatMiniProgram
);
/**
/**
* 根据qq查询
* @param qq
* @return
*/
List
<
UserEntity
>
findByQq
(
String
qq
);
/**
* 根据微博查询
* @param weibo 微博
* @return
*/
Optional
<
UserEntity
>
findByWeibo
(
String
weibo
);
/**
* 根据账号查询
* 根据账号查询
* @param account 账号
* @param account 账号
* @return
* @return
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment