Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
zlmy-cloud
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
zlmy
zlmy-cloud
Commits
245b2fde
Commit
245b2fde
authored
Apr 23, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监督检查合规率统计修改
parent
fb8bb1b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
THazardWorkPlanCheckServiceImpl.java
.../hazard/service/impl/THazardWorkPlanCheckServiceImpl.java
+16
-1
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/hazard/service/impl/THazardWorkPlanCheckServiceImpl.java
View file @
245b2fde
...
@@ -161,7 +161,22 @@ public class THazardWorkPlanCheckServiceImpl extends SuperServiceImpl<THazardWor
...
@@ -161,7 +161,22 @@ public class THazardWorkPlanCheckServiceImpl extends SuperServiceImpl<THazardWor
String
finalOrgId
=
orgId
;
String
finalOrgId
=
orgId
;
List
<
String
>
orgIds
=
new
ArrayList
<>();
List
<
String
>
orgIds
=
new
ArrayList
<>();
if
(
tHazardWorkPlanCheckParam
.
getOrgIdList
()
!=
null
&&
tHazardWorkPlanCheckParam
.
getOrgIdList
().
size
()
>
0
)
{
if
(
tHazardWorkPlanCheckParam
.
getOrgIdList
()
!=
null
&&
tHazardWorkPlanCheckParam
.
getOrgIdList
().
size
()
>
0
)
{
orgIds
=
tHazardWorkPlanCheckParam
.
getOrgIdList
();
//orgIds = tHazardWorkPlanCheckParam.getOrgIdList();
//如果只查当前机构数据
if
(
tHazardWorkPlanCheckParam
.
isThisOrg
())
{
orgIds
=
tHazardWorkPlanCheckParam
.
getOrgIdList
();
}
else
{
List
<
String
>
orgIdList
=
tHazardWorkPlanCheckParam
.
getOrgIdList
();
for
(
String
id
:
orgIdList
){
List
<
String
>
ids
=
sysOrgService
.
list
(
new
QueryWrapper
<
SysOrg
>().
eq
(
SysOrg
.
PARENT_ID
,
id
).
ne
(
SysOrg
.
STATUS
,
BizConstants
.
STATUS_DELETE
).
eq
(
SysOrg
.
IS_DEPT
,
0
).
orderByAsc
(
"tree_sort"
)).
stream
().
map
(
SysOrg:
:
getOrgId
).
collect
(
Collectors
.
toList
());
//如果下级机构为空
if
(
ids
==
null
||
ids
.
size
()
==
0
)
{
//存入当前机构
ids
.
add
(
finalOrgId
);
}
orgIds
.
addAll
(
ids
);
}
}
}
else
{
}
else
{
//如果只查当前机构数据
//如果只查当前机构数据
if
(
tHazardWorkPlanCheckParam
.
isThisOrg
())
{
if
(
tHazardWorkPlanCheckParam
.
isThisOrg
())
{
...
...
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