Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
jiangyun
qianhe-ydsj
Commits
28558d9c
Commit
28558d9c
authored
Sep 29, 2025
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025-09-29 wj 整体修改4
parent
5dabe737
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
qianhe-system/src/main/resources/mapper/system/SysDeptMapper.xml
+10
-1
qianhe-ydsj/src/main/java/com/qianhe/service/impl/SjBzxxServiceImpl.java
+4
-1
No files found.
qianhe-system/src/main/resources/mapper/system/SysDeptMapper.xml
View file @
28558d9c
...
@@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include
refid=
"selectDeptVo"
/>
<include
refid=
"selectDeptVo"
/>
where d.del_flag = '0'
where d.del_flag = '0'
<if
test=
"deptId != null and deptId != 0"
>
<if
test=
"deptId != null and deptId != 0"
>
AND
dept_id = #{deptId}
AND
( dept_id = #{deptId} or find_in_set(#{deptId}, d.ancestors) )
</if>
</if>
<if
test=
"parentId != null and parentId != 0"
>
<if
test=
"parentId != null and parentId != 0"
>
AND parent_id = #{parentId}
AND parent_id = #{parentId}
...
@@ -52,6 +52,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -52,6 +52,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"dwjb != null and dwjb != ''"
>
<if
test=
"dwjb != null and dwjb != ''"
>
AND d.dwjb
<
= #{dwjb}
AND d.dwjb
<
= #{dwjb}
</if>
</if>
<if
test=
"deptYwfl != null and deptYwfl != ''"
>
AND dept_ywfl like concat('%', #{deptYwfl}, '%')
</if>
<if
test=
"deptDfl != null and deptDfl != ''"
>
AND dept_dfl like concat('%', #{deptDfl}, '%')
</if>
<if
test=
"deptLx != null and deptLx != ''"
>
AND dept_lx like concat('%', #{deptLx}, '%')
</if>
<!-- 数据范围过滤 -->
<!-- 数据范围过滤 -->
${params.dataScope}
${params.dataScope}
order by d.parent_id, d.order_num
order by d.parent_id, d.order_num
...
...
qianhe-ydsj/src/main/java/com/qianhe/service/impl/SjBzxxServiceImpl.java
View file @
28558d9c
...
@@ -136,7 +136,10 @@ public class SjBzxxServiceImpl implements ISjBzxxService
...
@@ -136,7 +136,10 @@ public class SjBzxxServiceImpl implements ISjBzxxService
@DataScope
(
deptAlias
=
"d"
)
@DataScope
(
deptAlias
=
"d"
)
public
List
<
SjBzxx
>
dwbzrstjList
(
SjBzxx
sjBzxx
)
public
List
<
SjBzxx
>
dwbzrstjList
(
SjBzxx
sjBzxx
)
{
{
List
<
SysDept
>
deptList
=
sysDeptMapper
.
selectDeptList
(
new
SysDept
());
SysDept
s_in
=
new
SysDept
();
s_in
.
setDeptId
(
sjBzxx
.
getDeptId
());
s_in
.
setDeptYwfl
(
sjBzxx
.
getZsdwfl
());
List
<
SysDept
>
deptList
=
sysDeptMapper
.
selectDeptList
(
s_in
);
List
<
SjBzxx
>
bzs
=
sjBzxxMapper
.
selectSjBzxxList
(
new
SjBzxx
());
//班组
List
<
SjBzxx
>
bzs
=
sjBzxxMapper
.
selectSjBzxxList
(
new
SjBzxx
());
//班组
List
<
SysDeptCb
>
cbs
=
sysDeptCbService
.
selectSysDeptCbList
(
new
SysDeptCb
());
//单位从表
List
<
SysDeptCb
>
cbs
=
sysDeptCbService
.
selectSysDeptCbList
(
new
SysDeptCb
());
//单位从表
...
...
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