Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
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
fangxinjiang
yifu-mvp
Commits
cdabf289
Commit
cdabf289
authored
Feb 06, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目服务团队权限同步接口
parent
7c93db7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+10
-1
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
cdabf289
...
@@ -472,11 +472,20 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
...
@@ -472,11 +472,20 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
@Override
@Override
public
R
<
Boolean
>
updateProjectServerTeam
(
List
<
TSettleDomainUpServerTeamVo
>
list
)
{
public
R
<
Boolean
>
updateProjectServerTeam
(
List
<
TSettleDomainUpServerTeamVo
>
list
)
{
TSettleDomain
domain
;
TSettleDomain
domain
;
TSettleDomain
tSettleDomainInfo
;
for
(
TSettleDomainUpServerTeamVo
vo:
list
)
{
for
(
TSettleDomainUpServerTeamVo
vo:
list
)
{
domain
=
new
TSettleDomain
();
domain
=
new
TSettleDomain
();
BeanUtil
.
copyProperties
(
vo
,
domain
);
BeanUtil
.
copyProperties
(
vo
,
domain
);
tSettleDomainInfo
=
baseMapper
.
selectOne
(
Wrappers
.<
TSettleDomain
>
query
().
lambda
()
.
eq
(
TSettleDomain:
:
getDepartNo
,
domain
.
getDepartNo
())
.
orderByDesc
(
BaseEntity:
:
getCreateTime
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
tSettleDomainInfo
)){
domain
.
setDepartName
(
tSettleDomainInfo
.
getDepartName
());
domain
.
setId
(
tSettleDomainInfo
.
getId
());
initServerTeamPermission
(
domain
);
initServerTeamPermission
(
domain
);
}
}
}
return
R
.
ok
(
Boolean
.
TRUE
,
CommonConstants
.
RESULT_DATA_SUCESS
);
return
R
.
ok
(
Boolean
.
TRUE
,
CommonConstants
.
RESULT_DATA_SUCESS
);
}
}
...
...
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