Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
59cda3e7
Commit
59cda3e7
authored
Jan 04, 2023
by
吴卿华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 隐患台账没上报人问题
parent
22bf254d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
TStaningBookMapper.xml
...m/src/main/resources/mapper/system/TStaningBookMapper.xml
+7
-6
No files found.
danger-manage-system/src/main/resources/mapper/system/TStaningBookMapper.xml
View file @
59cda3e7
...
@@ -46,12 +46,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -46,12 +46,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</sql>
</sql>
<select
id=
"selectTStaningBookList"
parameterType=
"TStaningBook"
resultMap=
"TStaningBookResult"
>
<select
id=
"selectTStaningBookList"
parameterType=
"TStaningBook"
resultMap=
"TStaningBookResult"
>
SELECT b.*,s
1.`staff_name`
AS escalationName,
SELECT b.*,s
5.user_name
AS escalationName,
s2.`staff_name` AS rectificationName,
s2.`staff_name` AS rectificationName,
s3.`staff_name` AS personLiableName ,
s3.`staff_name` AS personLiableName ,
d.`dept_name` AS deptName
d.`dept_name` AS deptName
FROM t_staning_book b
FROM t_staning_book b
LEFT JOIN t_staff s1 ON b.`escalation` = s1.`staff_id`
LEFT JOIN t_staff s1 ON b.`escalation` = s1.`staff_id`
LEFT JOIN sys_user s5 ON b.escalation=s5.user_id
LEFT JOIN t_staff s2 ON b.`rectification` = s2.`staff_id`
LEFT JOIN t_staff s2 ON b.`rectification` = s2.`staff_id`
LEFT JOIN t_staff s3 ON b.`person_liable` = s3.`staff_id`
LEFT JOIN t_staff s3 ON b.`person_liable` = s3.`staff_id`
LEFT JOIN sys_dept d ON d.`dept_id` = b.`dept_id`
LEFT JOIN sys_dept d ON d.`dept_id` = b.`dept_id`
...
...
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