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
c7d95704
Commit
c7d95704
authored
Jul 13, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 7.13
parent
0526d306
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
RegisterServiceImpl.java
...gding/web/authority/service/impl/RegisterServiceImpl.java
+3
-3
No files found.
src/main/java/com/pangding/web/authority/service/impl/RegisterServiceImpl.java
View file @
c7d95704
...
@@ -370,19 +370,19 @@ public class RegisterServiceImpl implements RegisterService {
...
@@ -370,19 +370,19 @@ public class RegisterServiceImpl implements RegisterService {
tokenService
.
save
(
loginVo
);
tokenService
.
save
(
loginVo
);
/*判断基本信息是否完善,及状态是否为2,且为个人用户,若不完善则跳转个人完善页面*/
/*判断基本信息是否完善,及状态是否为2,且为个人用户,若不完善则跳转个人完善页面*/
if
(
companyVo
.
getStatus
()
!=(
LoginConstant
.
FINISHED_BASIC_INFO
)
&&
CompanyConstant
.
COMPANY_TYPE_PERSON
==(
companyVo
.
getCompanyType
())){
if
(
companyVo
.
getStatus
()
<
(
CompanyConstant
.
COMPANY_STATUS_BIND_PHONE
)
&&
CompanyConstant
.
COMPANY_TYPE_PERSON
==(
companyVo
.
getCompanyType
())){
resVo
.
setCode
(
"01"
);
resVo
.
setCode
(
"01"
);
resVo
.
setMsg
(
"个人基本信息未完善,跳转个人完善页面"
);
resVo
.
setMsg
(
"个人基本信息未完善,跳转个人完善页面"
);
return
resVo
;
return
resVo
;
}
}
/*判断基本信息是否完善,及状态是否为2,且为公司用户,若不完善则跳转个人完善页面*/
/*判断基本信息是否完善,及状态是否为2,且为公司用户,若不完善则跳转个人完善页面*/
else
if
(
companyVo
.
getStatus
()
!=(
LoginConstant
.
FINISHED_BASIC_INFO
)
&&
(
CompanyConstant
.
COMPANY_TYPE_COMPANY
==(
companyVo
.
getCompanyType
()))){
else
if
(
companyVo
.
getStatus
()
<
(
CompanyConstant
.
COMPANY_STATUS_BIND_PHONE
)
&&
(
CompanyConstant
.
COMPANY_TYPE_COMPANY
==(
companyVo
.
getCompanyType
()))){
resVo
.
setCode
(
"02"
);
resVo
.
setCode
(
"02"
);
resVo
.
setMsg
(
"公司基本信息未完善,跳转公司完善页面"
);
resVo
.
setMsg
(
"公司基本信息未完善,跳转公司完善页面"
);
return
resVo
;
return
resVo
;
}
}
/*判断电子签约状态,若不为10,则跳转签约页面*/
/*判断电子签约状态,若不为10,则跳转签约页面*/
else
if
(
companyVo
.
getSigningStatus
()
!=
(
LoginConstant
.
HAVE_SIGNED
)){
else
if
(
companyVo
.
getSigningStatus
()
<
(
CompanyConstant
.
COMPANY_STATUS_SIGN_CONTRACT
)){
resVo
.
setCode
(
"04"
);
resVo
.
setCode
(
"04"
);
resVo
.
setMsg
(
"未签约,跳转签约页面"
);
resVo
.
setMsg
(
"未签约,跳转签约页面"
);
resVo
.
setUrl
(
"TODO"
);
resVo
.
setUrl
(
"TODO"
);
...
...
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