Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
rpc-openplatform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5bc06930
authored
Dec 22, 2020
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加注册客户创建时间 yangll
1 parent
29bce609
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/CustomerMgrServiceImpl.java
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/CustomerMgrServiceImpl.java
View file @
5bc0693
...
@@ -18,6 +18,7 @@ import javax.annotation.Resource;
...
@@ -18,6 +18,7 @@ import javax.annotation.Resource;
import
java.security.NoSuchAlgorithmException
;
import
java.security.NoSuchAlgorithmException
;
import
java.security.PrivateKey
;
import
java.security.PrivateKey
;
import
java.security.PublicKey
;
import
java.security.PublicKey
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -47,7 +48,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
...
@@ -47,7 +48,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
@Override
@Override
public
Integer
startAndStop
(
Integer
id
,
Integer
status
)
{
public
Integer
startAndStop
(
Integer
id
,
Integer
status
)
{
return
customerMapper
.
updateStatusByCustomerId
(
id
,
status
);
return
customerMapper
.
updateStatusByCustomerId
(
id
,
status
);
}
}
@Override
@Override
...
@@ -76,6 +77,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
...
@@ -76,6 +77,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
String
area
=
customerMapper
.
getAddressStr
(
customer
.
getArea
());
String
area
=
customerMapper
.
getAddressStr
(
customer
.
getArea
());
customer
.
setAddress
(
province
+
city
+
area
+
customer
.
getAddress
());
customer
.
setAddress
(
province
+
city
+
area
+
customer
.
getAddress
());
customer
.
setStatus
(
2
);
customer
.
setStatus
(
2
);
customer
.
setCreateTime
(
new
Date
());
return
customerMapper
.
register
(
customer
);
return
customerMapper
.
register
(
customer
);
}
}
...
...
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