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
b6ae8250
Commit
b6ae8250
authored
Jul 18, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改app端任务单详情风险清单列表接口添加字段
parent
40c9c3fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/dto/RiskPlanAppInherentListDto.java
...ensoftrongtong/domain/dto/RiskPlanAppInherentListDto.java
+6
-0
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
...in/resources/mapper/system/RiskPlanInherentListMapper.xml
+6
-0
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/domain/dto/RiskPlanAppInherentListDto.java
View file @
b6ae8250
...
...
@@ -19,6 +19,12 @@ public class RiskPlanAppInherentListDto {
/** 风险源名称 */
private
String
name
;
/** 楼宇id */
private
Long
buildingId
;
/** 楼宇名称 */
private
String
buildingName
;
/** 楼层id */
private
Long
floorId
;
...
...
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
View file @
b6ae8250
...
...
@@ -8,6 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
SELECT
rpil.id,
rpil.`name`,
lb.id AS buildingId,
lb.`name` AS buildingName,
lf.id AS floorId,
lf.`name` AS floorName,
lr.id AS roomId,
...
...
@@ -23,12 +25,16 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ledger_floor lf ON lf.id = floor_id
LEFT JOIN sys_user su ON su.user_id = rpil.user_id
LEFT JOIN ledger_building lb ON lb.id = lf.building_id
LEFT JOIN sys_dict_data sdd ON sdd.dict_label = rpil.LEVEL
AND dict_type = 'risk_plan_level'
<where>
<if
test=
"projectId != null"
>
AND lb.project_id = #{projectId}
</if>
<if
test=
"buildingId != null"
>
AND lf.building_id = #{buildingId}
</if>
<if
test=
"floorId != null"
>
AND lf.id = #{floorId}
</if>
<if
test=
"roomId != null"
>
AND lr.id = #{roomId}
</if>
</where>
ORDER BY
sdd.dict_sort DESC
</select>
<select
id=
"getRiskPlanAppInherentListDetailsDtoByInherentId"
resultType=
"com.censoft.censoftrongtong.domain.dto.RiskPlanAppInherentListDetailsDto"
>
...
...
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