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
05858a0b
Commit
05858a0b
authored
Aug 30, 2019
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改app注册
parent
07b70813
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+1
-1
RegisterServiceImpl.java
...gding/web/authority/service/impl/RegisterServiceImpl.java
+6
-6
No files found.
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
05858a0b
...
...
@@ -964,7 +964,7 @@ public class CompanyServiceImpl implements CompanyService {
public
ResponseResult
<
String
>
updateCompanyMoney
(
UpdateCompanyMoneyReqVo
req
){
CompanyVo
companyVo
=
companyDao
.
load
(
req
.
getCompanyId
(),
CompanyVo
.
class
);
CompanyExtendVo
companyExtendVo
=
companyExtendDaoImpl
.
load
(
req
.
getCompanyId
(),
CompanyExtendVo
.
class
);
if
(
StringHelper
.
isEmpty
(
companyVo
)
&&
StringHelper
.
isEmpty
(
companyExtendVo
)){
if
(
StringHelper
.
isEmpty
(
companyVo
)
||
StringHelper
.
isEmpty
(
companyExtendVo
)){
throw
new
CodeException
(
"未找到公司信息"
);
}
try
{
...
...
src/main/java/com/pangding/web/authority/service/impl/RegisterServiceImpl.java
View file @
05858a0b
...
...
@@ -155,12 +155,12 @@ public class RegisterServiceImpl implements RegisterService {
@Override
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 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发送手机验证码并更新公司状态*/
CompanyGetReqVo
companyGetReqVo
=
new
CompanyGetReqVo
();
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