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
062d544e
Commit
062d544e
authored
Aug 09, 2023
by
周昊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1、修改app端删除固有风险、现有风险逻辑删除
parent
c6e45ac6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
2 deletions
+18
-2
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
...oft/censoftrongtong/controller/RiskPlanAppController.java
+8
-2
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
...in/resources/mapper/system/RiskPlanInherentListMapper.xml
+8
-0
censoft-rongtong/src/main/resources/mapper/system/RiskPlanUserBuildingMapper.xml
...in/resources/mapper/system/RiskPlanUserBuildingMapper.xml
+2
-0
No files found.
censoft-rongtong/src/main/java/com/censoft/censoftrongtong/controller/RiskPlanAppController.java
View file @
062d544e
...
...
@@ -450,7 +450,10 @@ public class RiskPlanAppController extends BaseController {
*/
@GetMapping
(
"/inherent/delete/{inherentId}"
)
public
R
<
Boolean
>
deleteRiskPlanAppInherentByInherentId
(
@PathVariable
(
"inherentId"
)
Long
inherentId
)
{
return
R
.
ok
(
riskPlanInherentListService
.
removeById
(
inherentId
));
RiskPlanInherentList
riskPlanInherentList
=
new
RiskPlanInherentList
();
riskPlanInherentList
.
setId
(
inherentId
);
riskPlanInherentList
.
setDelFlag
(
"1"
);
return
R
.
ok
(
riskPlanInherentListService
.
updateRiskPlanInherentList
(
riskPlanInherentList
)>
0
);
}
/**
...
...
@@ -563,7 +566,10 @@ public class RiskPlanAppController extends BaseController {
*/
@GetMapping
(
"/existing/delete/{existingId}"
)
public
R
<
Boolean
>
deleteRiskPlanAppExistingByExistingId
(
@PathVariable
(
"existingId"
)
Long
existingId
)
{
return
R
.
ok
(
riskPlanExistingListService
.
removeById
(
existingId
));
RiskPlanExistingList
existingList
=
new
RiskPlanExistingList
();
existingList
.
setId
(
existingId
);
existingList
.
setDelFlag
(
"1"
);
return
R
.
ok
(
riskPlanExistingListService
.
updateById
(
existingList
));
}
/**
...
...
censoft-rongtong/src/main/resources/mapper/system/RiskPlanInherentListMapper.xml
View file @
062d544e
...
...
@@ -379,6 +379,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ledger_building lb ON lb.id = lf.building_id
WHERE
reil.inherent_id = #{inherentId}
AND reil.del_flag = '0'
AND rpil.del_flag = '0'
AND lr.del_flag = '0'
AND lr.`status` = '0'
AND lf.del_flag = '0'
AND lf.`status` = '0'
AND lb.del_flag = '0'
AND lb.`status` = '0'
</select>
<select
id=
"getRiskNotificationExportWordDto"
resultType=
"com.censoft.censoftrongtong.domain.dto.RiskNotificationExportWordDto"
>
...
...
censoft-rongtong/src/main/resources/mapper/system/RiskPlanUserBuildingMapper.xml
View file @
062d544e
...
...
@@ -21,5 +21,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
LEFT JOIN ledger_building lb ON lb.id = rpub.building_id
WHERE
rp.id = #{planId}
AND lb.del_flag = '0'
AND lb.`status` = '0'
</select>
</mapper>
\ No newline at end of file
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