Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f786ad1b
authored
Jul 16, 2024
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[fix] 新项目管理列表不显示项目经理 bug 修复
1 parent
251285ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/vion/service/impl/ContractServiceImpl.java
src/main/java/vion/service/impl/ContractServiceImpl.java
View file @
f786ad1
...
...
@@ -113,6 +113,7 @@ public class ContractServiceImpl extends MPJBaseServiceImpl<ContractMapper, Cont
.
map
(
RContractUser:
:
getUsername
)
.
ifPresent
(
vo:
:
setSaleName
)));
completeStoreName
(
contractVOList
.
getRecords
());
if
(!
result
.
roleCodeList
.
contains
(
"admin"
)
&&
!
result
.
roleCodeList
.
contains
(
"xiaoshou"
)
&&
!
result
.
roleCodeList
.
contains
(
"caiwu"
))
{
contractVOList
.
getRecords
().
forEach
(
vo
->
{
vo
.
setTotalAmount
(
null
);
...
...
@@ -123,7 +124,6 @@ public class ContractServiceImpl extends MPJBaseServiceImpl<ContractMapper, Cont
vo
.
setDiffAmount
(
null
);
});
}
completeStoreName
(
contractVOList
.
getRecords
());
return
contractVOList
;
}
...
...
@@ -186,6 +186,7 @@ public class ContractServiceImpl extends MPJBaseServiceImpl<ContractMapper, Cont
.
map
(
RContractUser:
:
getUsername
)
.
ifPresent
(
vo:
:
setSaleName
)));
completeStoreName
(
contractVOList
.
getRecords
());
contractVOList
.
getRecords
().
forEach
(
vo
->
{
vo
.
setCustomerName
(
null
);
vo
.
setTotalAmount
(
null
);
...
...
@@ -201,7 +202,6 @@ public class ContractServiceImpl extends MPJBaseServiceImpl<ContractMapper, Cont
storeVOList
.
forEach
(
storeVO
->
storeVO
.
setMainUser
(
storeId2UserIdMap
.
getOrDefault
(
storeVO
.
getId
(),
null
)));
vo
.
setStoreVOS
(
storeVOList
);
});
completeStoreName
(
contractVOList
.
getRecords
());
return
contractVOList
;
}
...
...
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