Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
H
huaxin-rq
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
耿迪迪
huaxin-rq
Commits
94135880
Commit
94135880
authored
May 18, 2026
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐患问题修改
parent
7314cddc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
TDangerMapper.xml
...system/src/main/resources/mapper/system/TDangerMapper.xml
+12
-8
No files found.
huaxin-system/src/main/resources/mapper/system/TDangerMapper.xml
View file @
94135880
...
...
@@ -357,14 +357,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
danger.deal_method,
(SELECT nick_name FROM sys_user where user_id = danger.file_id) as fileName,
(
case danger.type
when '1' then tu.username
when '2' then (select username from t_business bu where bu.id = danger.receive_id)
when '3' then (select username from t_industry ind where ind.id = danger.receive_id)
when '6' then (select dev.device_name from t_device_info dev where dev.device_id = danger.receive_id)
when '5' then (select site.site_station_name from t_site_station_info site where site.site_station_id = danger.receive_id)
else '-'
end
<if
test=
"type == 1"
>
tu.username
</if>
<if
test=
"type != 1"
>
case danger.type
when '2' then (select username from t_business bu where bu.id = danger.receive_id)
when '3' then (select username from t_industry ind where ind.id = danger.receive_id)
when '6' then (select dev.device_name from t_device_info dev where dev.device_id = danger.receive_id)
when '5' then (select site.site_station_name from t_site_station_info site where site.site_station_id = danger.receive_id)
else '-'
end
</if>
) as receiveName,
(
case danger.type
...
...
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