Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
RuoYi-Vue-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
融通安全管理系统
RuoYi-Vue-master
Commits
4b2f2cb9
Commit
4b2f2cb9
authored
Sep 04, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改pc端固有风险筛选接口
parent
cebf3a34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
...in/resources/mapper/system/RiskPlanInherentListMapper.xml
+8
-5
No files found.
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
View file @
4b2f2cb9
...
...
@@ -98,19 +98,22 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND dict_type = 'risk_plan_level'
LEFT JOIN risk_plan rp ON FIND_IN_SET( lb.id, rp.building_ids )
<where>
<if
test=
"name != null and name != ''"
>
and rpil.name like concat('%', #{name}, '%')
</if>
<if
test=
"buildingName != null and buildingName != ''"
>
and lb.name like concat('%', #{buildingName}, '%')
</if>
<if
test=
"floorName != null and floorName != ''"
>
and lf.name like concat('%', #{floorName}, '%')
</if>
<if
test=
"roomName != null and roomName != ''"
>
and lr.name like concat('%', #{roomName}, '%')
</if>
<if
test=
"level != null and level != ''"
>
and rpil.level = #{level}
</if>
<if
test=
"factor != null and factor != ''"
>
and rpil.factor like concat('%', #{factor}, '%')
</if>
<if
test=
"type != null and type != ''"
>
and rpil.type like concat('%', #{type}, '%')
</if>
<if
test=
"presenceLocation != null and presenceLocation != ''"
>
and rpil.presence_location like concat('%', #{presenceLocation}, '%')
</if>
<if
test=
"userId != null "
>
and rpil.user_id = #{userId}
</if>
<if
test=
"roomId != null "
>
and rpil.room_id = #{roomId}
</if>
<if
test=
"planId != null "
>
and rp.id = #{planId}
</if>
<if
test=
"name != null and name != ''"
>
and rpil.name like concat('%', #{name}, '%')
</if>
<if
test=
"pointType != null and pointType != ''"
>
and rpil.point_type = #{pointType}
</if>
<if
test=
"specialEquipment != null "
>
and rpil.special_equipment = #{specialEquipment}
</if>
<if
test=
"safetyWarningSigns != null and safetyWarningSigns != ''"
>
and rpil.safety_warning_signs = #{safetyWarningSigns}
</if>
<if
test=
"factor != null and factor != ''"
>
and rpil.factor = #{factor}
</if>
<if
test=
"type != null and type != ''"
>
and rpil.type = #{type}
</if>
<if
test=
"level != null and level != ''"
>
and rpil.level = #{level}
</if>
<if
test=
"riskLikelihood != null and riskLikelihood != ''"
>
and rpil.risk_likelihood = #{riskLikelihood}
</if>
<if
test=
"riskSeverity != null and riskSeverity != ''"
>
and rpil.risk_severity = #{riskSeverity}
</if>
<if
test=
"presenceLocation != null and presenceLocation != ''"
>
and rpil.presence_location = #{presenceLocation}
</if>
<if
test=
"pictureFileIds != null and pictureFileIds != ''"
>
and rpil.picture_file_ids = #{pictureFileIds}
</if>
<if
test=
"measuresProject != null and measuresProject != ''"
>
and rpil.measures_project = #{measuresProject}
</if>
<if
test=
"measuresProjectFileIds != null and measuresProjectFileIds != ''"
>
and rpil.measures_project_file_ids = #{measuresProjectFileIds}
</if>
...
...
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