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
93aa1606
Commit
93aa1606
authored
Jul 24, 2019
by
zjy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user/role/tright 7.24
parent
58410df2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+8
-0
No files found.
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
93aa1606
...
@@ -109,6 +109,11 @@ public class CompanyServiceImpl implements CompanyService {
...
@@ -109,6 +109,11 @@ public class CompanyServiceImpl implements CompanyService {
userVo
.
setPassword
(
""
);
userVo
.
setPassword
(
""
);
userVo
.
setRemark
(
""
);
userVo
.
setRemark
(
""
);
resVo
.
setUserVo
(
userVo
);
resVo
.
setUserVo
(
userVo
);
}
else
{
UserGetReqVo
userGetReqVo1
=
new
UserGetReqVo
();
userGetReqVo1
.
setCompanyId
(
reqVo
.
getId
());
UserVo
userVo1
=
userDaoImpl
.
load
(
userGetReqVo1
,
UserVo
.
class
);
resVo
.
setUserVo
(
userVo1
);
}
}
/*获取没有公司id的角色数组*/
/*获取没有公司id的角色数组*/
GetEmptyRolesReqVo
getEmptyRolesReqVo
=
new
GetEmptyRolesReqVo
();
GetEmptyRolesReqVo
getEmptyRolesReqVo
=
new
GetEmptyRolesReqVo
();
...
@@ -193,6 +198,7 @@ public class CompanyServiceImpl implements CompanyService {
...
@@ -193,6 +198,7 @@ public class CompanyServiceImpl implements CompanyService {
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
CompanyReqVo
companyReqVo
=
new
CompanyReqVo
();
companyReqVo
.
setBankList
(
new
ArrayList
<
CompanyBankReqVo
>());
companyReqVo
.
setBankList
(
new
ArrayList
<
CompanyBankReqVo
>());
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
ObjectHelper
.
writeWithFrom
(
companyReqVo
,
companyVo
);
companyReqVo
.
setCompanyAttribution
(
reqVo
.
getCompanyAttribute
());
/*银行卡*/
/*银行卡*/
if
(
reqVo
.
getCompanyType
()
==
1
)
{
if
(
reqVo
.
getCompanyType
()
==
1
)
{
...
@@ -219,6 +225,7 @@ public class CompanyServiceImpl implements CompanyService {
...
@@ -219,6 +225,7 @@ public class CompanyServiceImpl implements CompanyService {
ObjectHelper
.
writeWithFrom
(
companyVo1
,
res
);
ObjectHelper
.
writeWithFrom
(
companyVo1
,
res
);
companyVo1
.
setProductOrInterface
(
companyVo
.
getProductOrInterface
());
companyVo1
.
setProductOrInterface
(
companyVo
.
getProductOrInterface
());
companyVo1
.
setExamineStatus
(
companyVo
.
getExamineStatus
());
companyVo1
.
setExamineStatus
(
companyVo
.
getExamineStatus
());
companyVo1
.
setCompanyAttribute
(
companyReqVo
.
getCompanyAttribution
());
/*保存公司主表*/
/*保存公司主表*/
companyDao
.
create
(
companyVo1
);
companyDao
.
create
(
companyVo1
);
...
@@ -279,6 +286,7 @@ public class CompanyServiceImpl implements CompanyService {
...
@@ -279,6 +286,7 @@ public class CompanyServiceImpl implements CompanyService {
userVo
.
setCreateName
(
reqVo
.
getCreateName
());
userVo
.
setCreateName
(
reqVo
.
getCreateName
());
userVo
.
setCompanyId
(
companyVo
.
getId
());
userVo
.
setCompanyId
(
companyVo
.
getId
());
userVo
.
setPhone
(
reqVo
.
getContactPhone
());
userVo
.
setPhone
(
reqVo
.
getContactPhone
());
userVo
.
setIsFirst
(
1
);
/*检查手机是否存在*/
/*检查手机是否存在*/
userServiceImpl
.
checkPhone
(
userVo
);
userServiceImpl
.
checkPhone
(
userVo
);
userDaoImpl
.
create
(
userVo
);
userDaoImpl
.
create
(
userVo
);
...
...
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