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
51a3d91b
Commit
51a3d91b
authored
Nov 21, 2024
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改自动化启动、停止预案兼容数字站预案报告
parent
f263bbc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ContingencyAction.java
...m/yeejoin/amos/fas/business/action/ContingencyAction.java
+1
-1
PlanReportServiceImpl.java
...amos/fas/business/service/impl/PlanReportServiceImpl.java
+3
-0
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/action/ContingencyAction.java
View file @
51a3d91b
...
@@ -1007,7 +1007,7 @@ public class ContingencyAction implements CustomerAction {
...
@@ -1007,7 +1007,7 @@ public class ContingencyAction implements CustomerAction {
planDetail
.
setSecStatus
(
ContingencyPlanStatusEnum
.
AVAILABLE
.
getCode
());
planDetail
.
setSecStatus
(
ContingencyPlanStatusEnum
.
AVAILABLE
.
getCode
());
}
}
PlanDetail
detail
=
planDetailDao
.
save
(
planDetail
);
planDetailDao
.
saveAndFlush
(
planDetail
);
}
}
}
}
}
}
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/service/impl/PlanReportServiceImpl.java
View file @
51a3d91b
...
@@ -90,6 +90,9 @@ public class PlanReportServiceImpl extends ServiceImpl<PlanReportMapper, PlanRep
...
@@ -90,6 +90,9 @@ public class PlanReportServiceImpl extends ServiceImpl<PlanReportMapper, PlanRep
public
void
createReport
(
String
batchNo
)
{
public
void
createReport
(
String
batchNo
)
{
Assert
.
notNull
(
batchNo
,
"batchNo 不能为空!"
);
Assert
.
notNull
(
batchNo
,
"batchNo 不能为空!"
);
PlanReport
report
=
planReportMapper
.
getByBatchNo
(
batchNo
);
PlanReport
report
=
planReportMapper
.
getByBatchNo
(
batchNo
);
if
(
ObjectUtils
.
isEmpty
(
report
)){
return
;
}
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"HH:mm"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"HH:mm"
);
List
<
ContingencyPlanInstance
>
list
=
null
;
List
<
ContingencyPlanInstance
>
list
=
null
;
try
{
try
{
...
...
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