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
23712bc8
Commit
23712bc8
authored
Aug 19, 2025
by
wangqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
班组信息
parent
49559111
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
qianhe-ydsj/src/main/java/com/qianhe/domain/SjBzxx.java
+7
-5
qianhe-ydsj/src/main/resources/mapper/SjBzxxMapper.xml
+2
-1
No files found.
qianhe-ydsj/src/main/java/com/qianhe/domain/SjBzxx.java
View file @
23712bc8
...
...
@@ -21,17 +21,19 @@ public class SjBzxx extends BaseEntity
private
Long
id
;
/** 单位id */
@Excel
(
name
=
"单位id"
)
private
Long
deptId
;
/** 班组类型 */
@Excel
(
name
=
"班组类型"
)
private
String
bzlx
;
@Excel
(
name
=
"单位名称"
)
private
String
deptName
;
/** 班组名称 */
@Excel
(
name
=
"班组名称"
)
private
String
bzmc
;
/** 班组类型 */
@Excel
(
name
=
"班组类型"
)
private
String
bzlx
;
/** 人数 */
@Excel
(
name
=
"人数"
)
private
String
rs
;
...
...
@@ -43,7 +45,7 @@ public class SjBzxx extends BaseEntity
//查询出的结果
private
String
deptName
;
//单位名称
private
String
bzzs
;
//班组总数
private
String
zrs
;
//总人数
...
...
qianhe-ydsj/src/main/resources/mapper/SjBzxxMapper.xml
View file @
23712bc8
...
...
@@ -24,9 +24,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<sql
id=
"selectSjBzxxVo"
>
select a.id, a.dept_id, a.bzlx, a.bzmc, a.rs, a.zt, a.create_by, a.create_time, a.update_by, a.update_time,
a.remark,
d.
dept_name
CONCAT(p.dept_name,'/',d.dept_name)
dept_name
from sj_bzxx a
left join sys_dept d on a.dept_id=d.dept_id
LEFT JOIN sys_dept p on d.parent_id = p.dept_id
</sql>
<select
id=
"selectSjBzxxList"
parameterType=
"SjBzxx"
resultMap=
"SjBzxxResult"
>
<include
refid=
"selectSjBzxxVo"
/>
...
...
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