Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
4ff5af8e
Commit
4ff5af8e
authored
Aug 08, 2019
by
tangf
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://192.168.0.204/pd-new/pd-user
parents
58508ed3
71136172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
RegisterServiceImpl.java
...gding/web/authority/service/impl/RegisterServiceImpl.java
+5
-3
No files found.
src/main/java/com/pangding/web/authority/service/impl/RegisterServiceImpl.java
View file @
4ff5af8e
...
@@ -176,6 +176,7 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -176,6 +176,7 @@ public class RegisterServiceImpl implements RegisterService {
companyVo
.
setExamineStatus
(
0
);
companyVo
.
setExamineStatus
(
0
);
companyVo
.
setCompanyAttribute
(
reqVo
.
getCompanyAttribute
());
companyVo
.
setCompanyAttribute
(
reqVo
.
getCompanyAttribute
());
companyDaoImpl
.
update
(
companyVo
);
companyDaoImpl
.
update
(
companyVo
);
System
.
out
.
println
(
"companyAttribute:"
+
companyVo
.
getCompanyAttribute
());
/*跟新用户表添加联系方式*/
/*跟新用户表添加联系方式*/
UserVo
userReqVo
=
new
UserVo
();
UserVo
userReqVo
=
new
UserVo
();
...
@@ -253,6 +254,7 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -253,6 +254,7 @@ public class RegisterServiceImpl implements RegisterService {
companyVo
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo
.
setExamineStatus
(
0
);
companyVo
.
setExamineStatus
(
0
);
companyVo
.
setCompanyAttribute
(
reqVo
.
getCompanyAttribute
());
companyVo
.
setCompanyAttribute
(
reqVo
.
getCompanyAttribute
());
System
.
out
.
println
(
"companyAttribute:"
+
companyVo
.
getCompanyAttribute
());
companyDaoImpl
.
update
(
companyVo
);
companyDaoImpl
.
update
(
companyVo
);
List
<
CompanyBankReqVo
>
bankList
=
resCompanyReqVo
.
getBankList
();
List
<
CompanyBankReqVo
>
bankList
=
resCompanyReqVo
.
getBankList
();
...
@@ -546,7 +548,7 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -546,7 +548,7 @@ public class RegisterServiceImpl implements RegisterService {
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
companyReqVo
.
setValidateCode
(
reqVo
.
getVerifyCode
());
companyReqVo
.
setValidateCode
(
reqVo
.
getVerifyCode
());
companyReqVo
.
setCompanyAttribution
(
req
Vo
.
getCompanyAttribute
());
companyReqVo
.
setCompanyAttribution
(
company
Vo
.
getCompanyAttribute
());
ResponseResult
result
=
payFeign
.
setCompanyInfo
(
companyReqVo
);
ResponseResult
result
=
payFeign
.
setCompanyInfo
(
companyReqVo
);
if
(
null
==
result
||
!
"00"
.
equals
(
result
.
getCode
())){
if
(
null
==
result
||
!
"00"
.
equals
(
result
.
getCode
())){
throw
new
CodeException
(
"保存商户失败,请重试"
);
throw
new
CodeException
(
"保存商户失败,请重试"
);
...
@@ -557,7 +559,7 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -557,7 +559,7 @@ public class RegisterServiceImpl implements RegisterService {
CompanyVo
companyVo1
=
new
CompanyVo
();
CompanyVo
companyVo1
=
new
CompanyVo
();
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setCompanyAttribute
(
req
Vo
.
getCompanyAttribute
());
companyVo1
.
setCompanyAttribute
(
company
Vo
.
getCompanyAttribute
());
companyVo1
.
setExamineStatus
(
0
);
companyVo1
.
setExamineStatus
(
0
);
companyDaoImpl
.
update
(
companyVo1
);
companyDaoImpl
.
update
(
companyVo1
);
return
reqVo
.
getVerifyCode
();
return
reqVo
.
getVerifyCode
();
...
@@ -605,7 +607,7 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -605,7 +607,7 @@ public class RegisterServiceImpl implements RegisterService {
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setExamineStatus
(
0
);
companyVo1
.
setExamineStatus
(
0
);
companyVo1
.
setCompanyAttribute
(
req
Vo
.
getCompanyAttribute
());
companyVo1
.
setCompanyAttribute
(
company
Vo
.
getCompanyAttribute
());
companyDaoImpl
.
update
(
companyVo1
);
companyDaoImpl
.
update
(
companyVo1
);
List
<
CompanyBankReqVo
>
bankList
=
resCompanyReqVo
.
getBankList
();
List
<
CompanyBankReqVo
>
bankList
=
resCompanyReqVo
.
getBankList
();
...
...
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