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 29bce609
authored
Dec 22, 2020
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
注册客户初始化状态为待审状态 yangll
1 parent
f039c79d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/CustomerMgrServiceImpl.java
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformCustomerMapper.xml
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/CustomerMgrServiceImpl.java
View file @
29bce60
...
@@ -75,6 +75,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
...
@@ -75,6 +75,7 @@ public class CustomerMgrServiceImpl implements CustomerMgrService {
String
city
=
customerMapper
.
getAddressStr
(
customer
.
getCity
());
String
city
=
customerMapper
.
getAddressStr
(
customer
.
getCity
());
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
);
return
customerMapper
.
register
(
customer
);
return
customerMapper
.
register
(
customer
);
}
}
...
...
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformCustomerMapper.xml
View file @
29bce60
...
@@ -74,6 +74,9 @@
...
@@ -74,6 +74,9 @@
<if
test=
"city != null"
>
<if
test=
"city != null"
>
city,
city,
</if>
</if>
<if
test=
"area != null"
>
area,
</if>
<if
test=
"address != null and address != ''"
>
<if
test=
"address != null and address != ''"
>
address,
address,
</if>
</if>
...
@@ -122,6 +125,9 @@
...
@@ -122,6 +125,9 @@
<if
test=
"city != null"
>
<if
test=
"city != null"
>
#{city,jdbcType=INTEGER},
#{city,jdbcType=INTEGER},
</if>
</if>
<if
test=
"area != null"
>
#{area,jdbcType=INTEGER},
</if>
<if
test=
"address != null and address != ''"
>
<if
test=
"address != null and address != ''"
>
#{address,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
</if>
</if>
...
...
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