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
7ba6137b
Commit
7ba6137b
authored
Sep 09, 2026
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小程序隐患查询接口修改
parent
bd10939f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TDangerMapper.xml
...system/src/main/resources/mapper/system/TDangerMapper.xml
+2
-1
No files found.
huaxin-system/src/main/resources/mapper/system/TDangerMapper.xml
View file @
7ba6137b
...
...
@@ -373,8 +373,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"type == 1"
>
tu.username
</if>
<if
test=
"type != 1"
>
<if
test=
"type != 1
or type == null
"
>
case danger.type
when '1' then (select username from t_user tu where tu.id = danger.receive_id)
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)
...
...
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