Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c3f78348
authored
Jun 08, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改用构造器注入
1 parent
423af476
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
15 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrganizationServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/OrganizationServiceImpl.java
View file @
c3f7834
...
...
@@ -19,23 +19,22 @@ import java.util.List;
@Slf4j
public
class
OrganizationServiceImpl
implements
OrganizationService
{
@Autowired
private
OrgClusterDao
orgClusterDao
;
@Autowired
private
OrgBranchDao
orgBranchDao
;
@Autowired
private
OrgGroupDao
orgGroupDao
;
private
final
OrgClusterDao
orgClusterDao
;
private
final
OrgBranchDao
orgBranchDao
;
private
final
OrgGroupDao
orgGroupDao
;
private
final
OrgTeamEngineerDao
orgTeamEngineerDao
;
private
final
EngineerInfoDao
engineerInfoDao
;
private
final
OrgTeamDao
orgTeamDao
;
@Autowired
private
OrgTeamEngineerDao
orgTeamEngineerDao
;
@Autowired
private
EngineerInfoDao
engineerInfoDao
;
@Autowired
private
OrgTeamDao
orgTeamDao
;
public
OrganizationServiceImpl
(
OrgClusterDao
orgClusterDao
,
OrgBranchDao
orgBranchDao
,
OrgGroupDao
orgGroupDao
,
OrgTeamEngineerDao
orgTeamEngineerDao
,
EngineerInfoDao
engineerInfoDao
,
OrgTeamDao
orgTeamDao
)
{
this
.
orgClusterDao
=
orgClusterDao
;
this
.
orgBranchDao
=
orgBranchDao
;
this
.
orgGroupDao
=
orgGroupDao
;
this
.
orgTeamEngineerDao
=
orgTeamEngineerDao
;
this
.
engineerInfoDao
=
engineerInfoDao
;
this
.
orgTeamDao
=
orgTeamDao
;
}
@Override
public
Result
<?>
getOrganizationTree
(
String
levelType
,
String
levelId
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment