Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
15801593
Commit
15801593
authored
Nov 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.还原代码
parent
05d658c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
ServiceHGWD001D.java
...java/com/baosight/hggp/hg/wd/service/ServiceHGWD001D.java
+5
-4
No files found.
src/main/java/com/baosight/hggp/hg/wd/service/ServiceHGWD001D.java
View file @
15801593
...
...
@@ -374,13 +374,14 @@ public class ServiceHGWD001D extends TreeService {
leafMap
.
put
(
"filePath"
,
dbWd001
.
getFilePath
());
if
(!
isManager
&&
!
isSpare
)
{
leafMap
.
put
(
"isAuth"
,
"1"
);
}
else
{
leafMap
.
put
(
"isAuth"
,
"0"
);
}
// 从已授权的信息中查找出自己
// 从已授权的信息中查找出自己
HGWD003
dbWd003
=
dbWd003s
==
null
?
null
:
dbWd003s
.
stream
().
filter
(
item
->
item
.
getUserId
().
equals
(
userId
)).
findFirst
().
orElse
(
null
);
leafMap
.
put
(
"downloadFlag"
,
dbWd003
==
null
?
"0"
:
dbWd003
.
getDownloadFlag
());
}
else
{
leafMap
.
put
(
"isAuth"
,
"0"
);
leafMap
.
put
(
"downloadFlag"
,
"1"
);
}
results
.
add
(
leafMap
);
}
// 设置叶子节点
...
...
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