Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xyqb-user2
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
head_group
xyqb-user2
Commits
8087113c
Commit
8087113c
authored
Nov 07, 2019
by
杨锐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review done。
parent
c901e5ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
IUserDetailRepository.java
.../cn/quantgroup/xyqb/repository/IUserDetailRepository.java
+0
-2
ModifyPhoneNoServiceImpl.java
...roup/xyqb/service/user/impl/ModifyPhoneNoServiceImpl.java
+1
-1
No files found.
src/main/java/cn/quantgroup/xyqb/repository/IUserDetailRepository.java
View file @
8087113c
...
...
@@ -66,7 +66,5 @@ public interface IUserDetailRepository extends JpaRepository<UserDetail, Long>,
List
<
UserDetail
>
findByIdBetween
(
Long
id
,
Long
endId
);
@Query
(
nativeQuery
=
true
,
value
=
"select * from user_detail where user_id = ?1 and phone_no = ?2 "
+
"and name = ?3 and id_no = ?4 limit 1"
)
UserDetail
findByUserIdAndPhoneNoAndNameAndIdNo
(
Long
userId
,
String
phoneNo
,
String
name
,
String
idNo
);
}
src/main/java/cn/quantgroup/xyqb/service/user/impl/ModifyPhoneNoServiceImpl.java
View file @
8087113c
...
...
@@ -240,7 +240,7 @@ public class ModifyPhoneNoServiceImpl implements IModifyPhoneNoService {
throw
new
DataException
(
"信息填写有误,请重新填写。"
);
}
log
.
info
(
"allowModify userId = 【{}】"
,
userId
);
String
res
=
httpService
.
get
(
apiHttps
+
"?userId="
+
userId
);
String
res
=
httpService
.
get
(
apiHttps
+
"
/ex/loan/user/loan_status
?userId="
+
userId
);
log
.
info
(
"allowModify res = 【{}】"
,
res
);
if
(
StringUtils
.
isBlank
(
res
))
{
throw
new
DataException
(
"系统内部错误。"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment