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
94f0bfcc
Commit
94f0bfcc
authored
Oct 05, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
df07f7f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
UserController.java
src/main/java/com/egolm/shop/controller/UserController.java
+2
-0
UserServiceImpl.java
...ain/java/com/egolm/shop/service/impl/UserServiceImpl.java
+2
-0
No files found.
src/main/java/com/egolm/shop/controller/UserController.java
View file @
94f0bfcc
...
@@ -323,6 +323,8 @@ public class UserController {
...
@@ -323,6 +323,8 @@ public class UserController {
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
((
String
)
customerMap
.
get
(
"sCustNO"
));
List
<
Map
<
String
,
Object
>>
shopList
=
userService
.
queryShopList
((
String
)
customerMap
.
get
(
"sCustNO"
));
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
customerMap
.
put
(
"sShopNO"
,
shopList
.
get
(
0
).
get
(
"sShopNO"
));
customerMap
.
put
(
"nShopID"
,
shopList
.
get
(
0
).
get
(
"nShopID"
));
customerMap
.
put
(
"nShopID"
,
shopList
.
get
(
0
).
get
(
"nShopID"
));
customerMap
.
put
(
"sEmail"
,
shopList
.
get
(
0
).
get
(
"sEmail"
));
customerMap
.
put
(
"sShopName"
,
shopList
.
get
(
0
).
get
(
"sShopName"
));
return
Rjx
.
jsonOk
().
set
(
"customer"
,
customerMap
).
set
(
"shopList"
,
shopList
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_Login_success"
)).
toJson
();
return
Rjx
.
jsonOk
().
set
(
"customer"
,
customerMap
).
set
(
"shopList"
,
shopList
).
setMessage
(
I18NUtils
.
getMessage
(
langID
,
"Msg_Login_success"
)).
toJson
();
}
}
...
...
src/main/java/com/egolm/shop/service/impl/UserServiceImpl.java
View file @
94f0bfcc
...
@@ -708,6 +708,8 @@ public class UserServiceImpl implements UserService {
...
@@ -708,6 +708,8 @@ public class UserServiceImpl implements UserService {
@Override
@Override
public
void
updateCustomerEmail
(
String
custNo
,
String
email
)
{
public
void
updateCustomerEmail
(
String
custNo
,
String
email
)
{
jdbcTemplate
.
update
(
"update tCustomer set sEmail = ? where sCustNO = ?"
,
email
,
custNo
);
jdbcTemplate
.
update
(
"update tCustomer set sEmail = ? where sCustNO = ?"
,
email
,
custNo
);
jdbcTemplate
.
update
(
"update tShop set sEmail = ? where sCustNO = ?"
,
email
,
custNo
);
}
}
}
}
\ 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