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
e18f4f78
Commit
e18f4f78
authored
Jun 21, 2023
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev_upgrade' into dev_upgrade
parents
f41b41c2
0c3172e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
FireContingencyHandler.java
...ejoin/amos/fas/business/event/FireContingencyHandler.java
+10
-2
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/event/FireContingencyHandler.java
View file @
e18f4f78
...
@@ -102,7 +102,8 @@ public class FireContingencyHandler implements EventHandler{
...
@@ -102,7 +102,8 @@ public class FireContingencyHandler implements EventHandler{
event
.
getPlanExecute
().
getContingencyPlanId
(),
event
.
getPlanExecute
().
getContingencyPlanId
(),
event
.
getPlanExecute
().
getButtonCode
(),
event
.
getPlanExecute
().
getButtonCode
(),
event
.
getPlanExecute
().
getConfirm
(),
event
.
getPlanExecute
().
getConfirm
(),
event
.
getPlanExecute
().
getStepState
());
event
.
getPlanExecute
().
getStepState
(),
event
.
getPlanExecute
().
getIsAuto
());
}
}
@Override
@Override
...
@@ -111,7 +112,7 @@ public class FireContingencyHandler implements EventHandler{
...
@@ -111,7 +112,7 @@ public class FireContingencyHandler implements EventHandler{
}
}
public
void
fire
(
String
batchNo
,
String
stepCode
,
String
contingencyPlanId
,
String
buttonCode
,
String
buttonState
,
String
stepStateOnbutton
)
throws
Exception
{
public
void
fire
(
String
batchNo
,
String
stepCode
,
String
contingencyPlanId
,
String
buttonCode
,
String
buttonState
,
String
stepStateOnbutton
,
String
isAuto
)
throws
Exception
{
//火灾误报
//火灾误报
ContingencyOriginalData
contingencyOriginalData
=
iContingencyOriginalDataDao
.
findByBatchNo
(
batchNo
);
ContingencyOriginalData
contingencyOriginalData
=
iContingencyOriginalDataDao
.
findByBatchNo
(
batchNo
);
...
@@ -149,6 +150,13 @@ public class FireContingencyHandler implements EventHandler{
...
@@ -149,6 +150,13 @@ public class FireContingencyHandler implements EventHandler{
contingencyRo
.
setButtonCode
(
buttonCode
);
contingencyRo
.
setButtonCode
(
buttonCode
);
contingencyRo
.
setButtonState
(
buttonState
);
contingencyRo
.
setButtonState
(
buttonState
);
if
(
"true"
.
equals
(
isAuto
))
{
// 用路线字段标识是否是自动执行
contingencyRo
.
setFireTruckRoute
(
"true"
);
}
else
{
contingencyRo
.
setFireTruckRoute
(
"false"
);
}
ContingencyInstanceInfoVO
infoVO
=
contingencyInstanceInfoService
.
selectDisposalDetails
(
batchNo
);
ContingencyInstanceInfoVO
infoVO
=
contingencyInstanceInfoService
.
selectDisposalDetails
(
batchNo
);
if
(!
ObjectUtils
.
isEmpty
(
infoVO
.
getPosition
()))
{
if
(!
ObjectUtils
.
isEmpty
(
infoVO
.
getPosition
()))
{
contingencyOriginalData
.
setPosition
(
infoVO
.
getPosition
());
contingencyOriginalData
.
setPosition
(
infoVO
.
getPosition
());
...
...
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