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
bf09f4d9
Commit
bf09f4d9
authored
Aug 11, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8.11
parent
71136172
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
RegisterServiceImpl.java
...gding/web/authority/service/impl/RegisterServiceImpl.java
+12
-0
No files found.
src/main/java/com/pangding/web/authority/service/impl/RegisterServiceImpl.java
View file @
bf09f4d9
...
@@ -155,6 +155,12 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -155,6 +155,12 @@ public class RegisterServiceImpl implements RegisterService {
@Override
@Override
public
SaveCompanyResVo
saveIndividual
(
RegisterIndividualReqVo
reqVo
)
{
public
SaveCompanyResVo
saveIndividual
(
RegisterIndividualReqVo
reqVo
)
{
CompanyVo
companyVo1
=
new
CompanyVo
();
companyVo1
.
setContactPhone
(
reqVo
.
getContactPhone
());
CompanyVo
companyVo2
=
companyDaoImpl
.
load
(
companyVo1
,
CompanyVo
.
class
);
if
(
null
!=
companyVo2
&&
!
reqVo
.
getId
().
equals
(
companyVo2
.
getId
())){
throw
new
CodeException
(
"该号码已存在"
);
}
/*此处应该调用第三方接口传入companyVo发送手机验证码并更新公司状态*/
/*此处应该调用第三方接口传入companyVo发送手机验证码并更新公司状态*/
CompanyGetReqVo
companyGetReqVo
=
new
CompanyGetReqVo
();
CompanyGetReqVo
companyGetReqVo
=
new
CompanyGetReqVo
();
companyGetReqVo
.
setId
(
reqVo
.
getId
());
companyGetReqVo
.
setId
(
reqVo
.
getId
());
...
@@ -229,6 +235,12 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -229,6 +235,12 @@ public class RegisterServiceImpl implements RegisterService {
@Override
@Override
public
SaveCompanyResVo
saveEnterprice
(
RegisterEnterpriceReqVo
reqVo
)
{
public
SaveCompanyResVo
saveEnterprice
(
RegisterEnterpriceReqVo
reqVo
)
{
CompanyVo
companyVo1
=
new
CompanyVo
();
companyVo1
.
setContactPhone
(
reqVo
.
getContactPhone
());
CompanyVo
companyVo2
=
companyDaoImpl
.
load
(
companyVo1
,
CompanyVo
.
class
);
if
(
null
!=
companyVo2
&&
!
reqVo
.
getId
().
equals
(
companyVo2
.
getId
())){
throw
new
CodeException
(
"该号码已存在"
);
}
/*此处应该调用第三方接口传入companyVo发送手机验证码并更新公司状态*/
/*此处应该调用第三方接口传入companyVo发送手机验证码并更新公司状态*/
CompanyGetReqVo
companyGetReqVo
=
new
CompanyGetReqVo
();
CompanyGetReqVo
companyGetReqVo
=
new
CompanyGetReqVo
();
companyGetReqVo
.
setId
(
reqVo
.
getId
());
companyGetReqVo
.
setId
(
reqVo
.
getId
());
...
...
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