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
c9677d41
Commit
c9677d41
authored
Apr 24, 2025
by
鲁鸿波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监督检查合规率统计修改
parent
9bf49ce5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
0 deletions
+17
-0
THazardWorkPlanCheckServiceImpl.java
.../hazard/service/impl/THazardWorkPlanCheckServiceImpl.java
+4
-0
TSysOrgDao.java
...rc/main/java/com/testor/module/notice/dao/TSysOrgDao.java
+2
-0
TSysOrgDao.xml
.../src/main/resources/mapper/demo/notice/dao/TSysOrgDao.xml
+11
-0
No files found.
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/hazard/service/impl/THazardWorkPlanCheckServiceImpl.java
View file @
c9677d41
...
@@ -85,9 +85,13 @@ public class THazardWorkPlanCheckServiceImpl extends SuperServiceImpl<THazardWor
...
@@ -85,9 +85,13 @@ public class THazardWorkPlanCheckServiceImpl extends SuperServiceImpl<THazardWor
@Override
@Override
public
Page
<
THazardWorkPlanCheck
>
selectTHazardWorkPlanCheckManageList
(
THazardWorkPlanCheckParam
tHazardWorkPlanCheckParam
)
{
public
Page
<
THazardWorkPlanCheck
>
selectTHazardWorkPlanCheckManageList
(
THazardWorkPlanCheckParam
tHazardWorkPlanCheckParam
)
{
IPage
<
THazardWorkPlanCheck
>
page
=
new
Page
<>(
Long
.
valueOf
(
tHazardWorkPlanCheckParam
.
getPage
()),
Long
.
valueOf
(
tHazardWorkPlanCheckParam
.
getLimit
()));
IPage
<
THazardWorkPlanCheck
>
page
=
new
Page
<>(
Long
.
valueOf
(
tHazardWorkPlanCheckParam
.
getPage
()),
Long
.
valueOf
(
tHazardWorkPlanCheckParam
.
getLimit
()));
List
<
String
>
orgIdList
=
new
ArrayList
<>();
if
(
null
!=
tHazardWorkPlanCheckParam
.
getOrgIdList
()
&&
tHazardWorkPlanCheckParam
.
getOrgIdList
().
size
()>
0
){
if
(
null
!=
tHazardWorkPlanCheckParam
.
getOrgIdList
()
&&
tHazardWorkPlanCheckParam
.
getOrgIdList
().
size
()>
0
){
tHazardWorkPlanCheckParam
.
setOrgIdList
(
orgDao
.
selectAllSubId
(
tHazardWorkPlanCheckParam
.
getOrgIdList
()));
tHazardWorkPlanCheckParam
.
setOrgIdList
(
orgDao
.
selectAllSubId
(
tHazardWorkPlanCheckParam
.
getOrgIdList
()));
orgIdList
.
addAll
(
tHazardWorkPlanCheckParam
.
getOrgIdList
());
}
}
orgIdList
.
addAll
(
orgDao
.
selectOrgIdAllSubId
(
ContextUtils
.
getLoginUser
().
getOrgId
()));
tHazardWorkPlanCheckParam
.
setOrgIdList
(
orgIdList
);
return
this
.
baseMapper
.
selectTHazardWorkPlanCheckManageList
(
page
,
tHazardWorkPlanCheckParam
);
return
this
.
baseMapper
.
selectTHazardWorkPlanCheckManageList
(
page
,
tHazardWorkPlanCheckParam
);
}
}
...
...
zlmy-modules/zlmy-boot/src/main/java/com/testor/module/notice/dao/TSysOrgDao.java
View file @
c9677d41
...
@@ -23,4 +23,6 @@ public interface TSysOrgDao extends SuperDao<TSysOrg> {
...
@@ -23,4 +23,6 @@ public interface TSysOrgDao extends SuperDao<TSysOrg> {
List
<
String
>
selectAllSubId
(
@Param
(
"orgIds"
)
List
<
String
>
orgIds
);
List
<
String
>
selectAllSubId
(
@Param
(
"orgIds"
)
List
<
String
>
orgIds
);
List
<
String
>
selectOrgIdAllSubId
(
@Param
(
"orgId"
)
String
orgId
);
}
}
zlmy-modules/zlmy-boot/src/main/resources/mapper/demo/notice/dao/TSysOrgDao.xml
View file @
c9677d41
...
@@ -37,4 +37,15 @@
...
@@ -37,4 +37,15 @@
</foreach>
</foreach>
</select>
</select>
<select
id=
"selectOrgIdAllSubId"
resultType=
"string"
>
SELECT org_id FROM t_sys_org
WHERE status = '0' and is_dept = '0'
START WITH parent_id =#{orgId}
CONNECT BY PRIOR org_id = parent_id
union all
SELECT org_id FROM t_sys_org
WHERE status = '0' and is_dept = '0' and org_id=#{orgId}
</select>
</mapper>
</mapper>
\ No newline at end of file
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