Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
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
station
YeeAmosFireAutoSysRoot
Commits
1ef547f9
Commit
1ef547f9
authored
Dec 03, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复应急4.0预案卡片bug
parent
2e5862e3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
34 additions
and
35 deletions
+34
-35
ContingencyPlanController.java
...os/fas/business/controller/ContingencyPlanController.java
+10
-0
ContingencyPlanServiceImpl.java
...fas/business/service/impl/ContingencyPlanServiceImpl.java
+0
-0
IContingencyPlanService.java
...s/fas/business/service/intfc/IContingencyPlanService.java
+2
-0
PlanDetailVo.java
...n/java/com/yeejoin/amos/fas/business/vo/PlanDetailVo.java
+2
-0
PlanDetailMapper.xml
...ysStart/src/main/resources/db/mapper/PlanDetailMapper.xml
+2
-0
plan-step-UHV-gk.json
...utoSysStart/src/main/resources/json/plan-step-UHV-gk.json
+18
-35
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/ContingencyPlanController.java
View file @
1ef547f9
...
@@ -4,9 +4,13 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -4,9 +4,13 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yeejoin.amos.fas.business.service.intfc.IContingencyPlanService
;
import
com.yeejoin.amos.fas.business.service.intfc.IContingencyPlanService
;
import
com.yeejoin.amos.fas.business.service.intfc.IEmergencyTaskService
;
import
com.yeejoin.amos.fas.business.service.intfc.IEmergencyTaskService
;
import
com.yeejoin.amos.fas.business.vo.*
;
import
com.yeejoin.amos.fas.business.vo.*
;
import
com.yeejoin.amos.fas.common.enums.ContingencyPlanStatusEnum
;
import
com.yeejoin.amos.fas.config.Permission
;
import
com.yeejoin.amos.fas.config.Permission
;
import
com.yeejoin.amos.fas.core.enums.NumberEnum
;
import
com.yeejoin.amos.fas.core.enums.ReserveEnum
;
import
com.yeejoin.amos.fas.core.util.CommonResponseUtil2
;
import
com.yeejoin.amos.fas.core.util.CommonResponseUtil2
;
import
com.yeejoin.amos.fas.core.util.ResponseModel
;
import
com.yeejoin.amos.fas.core.util.ResponseModel
;
import
com.yeejoin.amos.fas.dao.entity.PlanDetail
;
import
com.yeejoin.amos.fas.exception.YeeException
;
import
com.yeejoin.amos.fas.exception.YeeException
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.RoleModel
;
import
com.yeejoin.amos.feign.privilege.model.RoleModel
;
...
@@ -329,4 +333,10 @@ public class ContingencyPlanController extends BaseController {
...
@@ -329,4 +333,10 @@ public class ContingencyPlanController extends BaseController {
return
CommonResponseUtil2
.
success
(
contingencyPlanService
.
getPlanInfo
(
planId
));
return
CommonResponseUtil2
.
success
(
contingencyPlanService
.
getPlanInfo
(
planId
));
}
}
@ApiOperation
(
value
=
"获取当前预案信息"
)
@GetMapping
(
value
=
"/plan/current"
)
public
ResponseModel
getPlanCurrentInfo
()
{
return
CommonResponseUtil2
.
success
(
contingencyPlanService
.
getPlanCurrentInfo
());
}
}
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/ContingencyPlanServiceImpl.java
View file @
1ef547f9
This diff is collapsed.
Click to expand it.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/intfc/IContingencyPlanService.java
View file @
1ef547f9
...
@@ -148,4 +148,6 @@ public interface IContingencyPlanService {
...
@@ -148,4 +148,6 @@ public interface IContingencyPlanService {
Page
<
ContingencyPlanInstanceVO
>
selectTaskActionPage
(
int
current
,
int
size
,
String
batchNo
,
String
runState
,
String
updateDate
,
List
<
String
>
roleList
,
List
<
String
>
steps
);
Page
<
ContingencyPlanInstanceVO
>
selectTaskActionPage
(
int
current
,
int
size
,
String
batchNo
,
String
runState
,
String
updateDate
,
List
<
String
>
roleList
,
List
<
String
>
steps
);
Map
<
String
,
Object
>
getPlanInfo
(
Long
planId
);
Map
<
String
,
Object
>
getPlanInfo
(
Long
planId
);
Map
<
String
,
Object
>
getPlanCurrentInfo
();
}
}
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/vo/PlanDetailVo.java
View file @
1ef547f9
...
@@ -38,4 +38,6 @@ public class PlanDetailVo extends PlanDetail {
...
@@ -38,4 +38,6 @@ public class PlanDetailVo extends PlanDetail {
private
String
zid
;
private
String
zid
;
private
String
category
;
}
}
YeeAmosFireAutoSysStart/src/main/resources/db/mapper/PlanDetailMapper.xml
View file @
1ef547f9
...
@@ -84,6 +84,8 @@
...
@@ -84,6 +84,8 @@
, (SELECT classify_name FROM c_plan_classify_tree cpct WHERE id = cpd.classify_id) classifyName
, (SELECT classify_name FROM c_plan_classify_tree cpct WHERE id = cpd.classify_id) classifyName
, (SELECT count(1) FROM c_plan_operation_record cpor WHERE plan_id = cpd.id) executionTimes
, (SELECT count(1) FROM c_plan_operation_record cpor WHERE plan_id = cpd.id) executionTimes
,fpp.picture
,fpp.picture
, (CASE WHEN c.category='1850' OR c.category='1830' OR c.category='1831' OR c.category='1832' OR c.category='1833' THEN '换流变'
WHEN c.category='1851' THEN '主变' WHEN c.category='1852' THEN '高抗' ELSE '换流变' END) AS category
FROM
FROM
c_plan_detail cpd
c_plan_detail cpd
left join c_plan_equipment as cpe on cpd.id = cpe.plan_id and cpe.is_delete = 0
left join c_plan_equipment as cpe on cpd.id = cpe.plan_id and cpe.is_delete = 0
...
...
YeeAmosFireAutoSysStart/src/main/resources/json/plan-step-UHV-gk.json
View file @
1ef547f9
...
@@ -108,30 +108,13 @@
...
@@ -108,30 +108,13 @@
}
}
},
},
{
{
"buttonCode"
:
"DRAIN_OIL_CONFIRM"
,
"checkYesOrNo"
:
""
,
"index"
:
5
,
"isAuto"
:
0
,
"isParallel"
:
"0"
,
"outAndOr"
:
"and"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"showLine"
:
false
,
"stepCode"
:
"5"
,
"stepName"
:
"启动应急排油"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"videos"
:
{
}
},
{
"buttonCode"
:
"START_TURBOFAN_ROBOT"
,
"buttonCode"
:
"START_TURBOFAN_ROBOT"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
6
,
"index"
:
5
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"
6
"
,
"stepCode"
:
"
5
"
,
"stepName"
:
"启动CAFS举高灭火机器人"
,
"stepName"
:
"启动CAFS举高灭火机器人"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -142,11 +125,11 @@
...
@@ -142,11 +125,11 @@
{
{
"buttonCode"
:
"APPLY_FOR_OVERHAUL"
,
"buttonCode"
:
"APPLY_FOR_OVERHAUL"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
7
,
"index"
:
6
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"
7
"
,
"stepCode"
:
"
6
"
,
"stepName"
:
"申请调检修"
,
"stepName"
:
"申请调检修"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -194,11 +177,11 @@
...
@@ -194,11 +177,11 @@
{
{
"buttonCode"
:
"OFF_POWER"
,
"buttonCode"
:
"OFF_POWER"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
8
,
"index"
:
7
,
"isParallel"
:
"1"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"roleCode"
:
"Digital_Responsing_Plan_A"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"
8
"
,
"stepCode"
:
"
7
"
,
"stepName"
:
"断开交、直流电源"
,
"stepName"
:
"断开交、直流电源"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -209,11 +192,11 @@
...
@@ -209,11 +192,11 @@
{
{
"buttonCode"
:
"FIRE_TRANSVERTER_TO_OVERHAUL"
,
"buttonCode"
:
"FIRE_TRANSVERTER_TO_OVERHAUL"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
9
,
"index"
:
8
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"
9
"
,
"stepCode"
:
"
8
"
,
"stepName"
:
"执行转检修操作"
,
"stepName"
:
"执行转检修操作"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -224,11 +207,11 @@
...
@@ -224,11 +207,11 @@
{
{
"buttonCode"
:
"PLUG_CABLETRENCH"
,
"buttonCode"
:
"PLUG_CABLETRENCH"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
10
,
"index"
:
9
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"
10
"
,
"stepCode"
:
"
9
"
,
"stepName"
:
"电缆沟封堵"
,
"stepName"
:
"电缆沟封堵"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -239,11 +222,11 @@
...
@@ -239,11 +222,11 @@
{
{
"buttonCode"
:
"HANDOVER_FIGTHHING"
,
"buttonCode"
:
"HANDOVER_FIGTHHING"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
1
1
,
"index"
:
1
0
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"1
1
"
,
"stepCode"
:
"1
0
"
,
"stepName"
:
"政府消防队指挥权交接"
,
"stepName"
:
"政府消防队指挥权交接"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -254,11 +237,11 @@
...
@@ -254,11 +237,11 @@
{
{
"buttonCode"
:
"FIRE_EXTINCT"
,
"buttonCode"
:
"FIRE_EXTINCT"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
1
2
,
"index"
:
1
1
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"1
2
"
,
"stepCode"
:
"1
1
"
,
"stepName"
:
"确认明火扑灭,确认着火设备温度降为环境温度"
,
"stepName"
:
"确认明火扑灭,确认着火设备温度降为环境温度"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -269,11 +252,11 @@
...
@@ -269,11 +252,11 @@
{
{
"buttonCode"
:
"ACCIDENT_REPORT"
,
"buttonCode"
:
"ACCIDENT_REPORT"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
1
3
,
"index"
:
1
2
,
"isParallel"
:
"0"
,
"isParallel"
:
"0"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"1
3
"
,
"stepCode"
:
"1
2
"
,
"stepName"
:
"检查现场情况,汇报调度"
,
"stepName"
:
"检查现场情况,汇报调度"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
@@ -284,11 +267,11 @@
...
@@ -284,11 +267,11 @@
{
{
"buttonCode"
:
"END_EMERGENCY"
,
"buttonCode"
:
"END_EMERGENCY"
,
"checkYesOrNo"
:
""
,
"checkYesOrNo"
:
""
,
"index"
:
1
4
,
"index"
:
1
3
,
"isParallel"
:
"1"
,
"isParallel"
:
"1"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"roleCode"
:
"Digital_Responsing_Plan_B"
,
"showLine"
:
false
,
"showLine"
:
false
,
"stepCode"
:
"1
4
"
,
"stepCode"
:
"1
3
"
,
"stepName"
:
"退出预案"
,
"stepName"
:
"退出预案"
,
"stepStatus"
:
"0"
,
"stepStatus"
:
"0"
,
"time"
:
""
,
"time"
:
""
,
...
...
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