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
71136172
Commit
71136172
authored
Aug 07, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 8.7
parent
efd3d933
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
RegisterServiceImpl.java
...gding/web/authority/service/impl/RegisterServiceImpl.java
+3
-5
No files found.
src/main/java/com/pangding/web/authority/service/impl/RegisterServiceImpl.java
View file @
71136172
...
...
@@ -544,12 +544,11 @@ public class RegisterServiceImpl implements RegisterService {
CompanyGetReqVo
getReqVo
=
new
CompanyGetReqVo
();
getReqVo
.
setId
(
reqVo
.
getId
());
CompanyVo
companyVo
=
companyDaoImpl
.
load
(
getReqVo
,
CompanyVo
.
class
);
System
.
out
.
println
(
"companyAttribute:"
+
companyVo
.
getCompanyAttribute
());
/*此处应该将companyVo和verifyCode发送到第三方接口,返回的数据用于更新公司信息*/
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
companyReqVo
.
setValidateCode
(
reqVo
.
getVerifyCode
());
companyReqVo
.
setCompanyAttribution
(
req
Vo
.
getCompanyAttribute
());
companyReqVo
.
setCompanyAttribution
(
company
Vo
.
getCompanyAttribute
());
ResponseResult
result
=
payFeign
.
setCompanyInfo
(
companyReqVo
);
if
(
null
==
result
||
!
"00"
.
equals
(
result
.
getCode
())){
throw
new
CodeException
(
"保存商户失败,请重试"
);
...
...
@@ -560,7 +559,7 @@ public class RegisterServiceImpl implements RegisterService {
CompanyVo
companyVo1
=
new
CompanyVo
();
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setCompanyAttribute
(
req
Vo
.
getCompanyAttribute
());
companyVo1
.
setCompanyAttribute
(
company
Vo
.
getCompanyAttribute
());
companyVo1
.
setExamineStatus
(
0
);
companyDaoImpl
.
update
(
companyVo1
);
return
reqVo
.
getVerifyCode
();
...
...
@@ -576,7 +575,6 @@ public class RegisterServiceImpl implements RegisterService {
CompanyGetReqVo
getReqVo
=
new
CompanyGetReqVo
();
getReqVo
.
setId
(
reqVo
.
getId
());
CompanyVo
companyVo
=
companyDaoImpl
.
load
(
getReqVo
,
CompanyVo
.
class
);
System
.
out
.
println
(
"companyAttribute:"
+
companyVo
.
getCompanyAttribute
());
/*此处应该调用第三方接口传入companyVo发送手机验证码并更新公司状态*/
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
...
...
@@ -609,7 +607,7 @@ public class RegisterServiceImpl implements RegisterService {
ObjectHelper
.
writeWithFrom
(
companyVo1
,
resCompanyReqVo
);
companyVo1
.
setProductOrInterface
(
CompanyConstant
.
PRODUCT
);
companyVo1
.
setExamineStatus
(
0
);
companyVo1
.
setCompanyAttribute
(
req
Vo
.
getCompanyAttribute
());
companyVo1
.
setCompanyAttribute
(
company
Vo
.
getCompanyAttribute
());
companyDaoImpl
.
update
(
companyVo1
);
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