Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
曲欣亮
shop
Commits
4507adc9
Commit
4507adc9
authored
Oct 14, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
5c1c8007
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+3
-1
UserService.java
src/main/java/com/egolm/shop/service/UserService.java
+2
-0
UserServiceImpl.java
...ain/java/com/egolm/shop/service/impl/UserServiceImpl.java
+6
-0
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
4507adc9
...
...
@@ -322,7 +322,9 @@ public class UserController {
if
(
customerMap
==
null
)
{
return
Rjx
.
jsonErr
().
setCode
(
201
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_OpenID_notExist"
)).
toJson
();
}
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
((
String
)
customerMap
.
get
(
"sCustNO"
));
String
sCustNO
=
(
String
)
customerMap
.
get
(
"sCustNO"
);
List
<
Map
<
String
,
Object
>>
bankList
=
userService
.
queryBankList
(
sCustNO
);
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
(
sCustNO
);
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
customerMap
.
put
(
"nShopID"
,
shopList
.
get
(
0
).
get
(
"nShopID"
));
customerMap
.
put
(
"sEmail"
,
shopList
.
get
(
0
).
get
(
"sEmail"
));
...
...
src/main/java/com/egolm/shop/service/UserService.java
View file @
4507adc9
...
...
@@ -47,4 +47,6 @@ public interface UserService {
public
void
updateCustomerEmail
(
String
custNo
,
String
email
);
public
List
<
Map
<
String
,
Object
>>
queryBankList
(
String
sCustNO
);
}
src/main/java/com/egolm/shop/service/impl/UserServiceImpl.java
View file @
4507adc9
...
...
@@ -723,4 +723,10 @@ public class UserServiceImpl implements UserService {
}
@Override
public
List
<
Map
<
String
,
Object
>>
queryBankList
(
String
sCustNO
)
{
String
sql
=
"SELECT * FROM tCustBank where sCustNO = ? and nTag&1 = 0"
;
return
jdbcTemplate
.
queryForList
(
sql
,
sCustNO
);
}
}
\ No newline at end of file
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