Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
c92cfa72
Commit
c92cfa72
authored
Nov 29, 2021
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预案接口添加验证权限
parent
1afe21cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ContingencyPlanController.java
...os/fas/business/controller/ContingencyPlanController.java
+5
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-fas-biz/src/main/java/com/yeejoin/amos/fas/business/controller/ContingencyPlanController.java
View file @
c92cfa72
...
...
@@ -175,6 +175,7 @@ public class ContingencyPlanController extends AbstractBaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"启动"
)
@RequestMapping
(
value
=
"/start"
,
method
=
RequestMethod
.
POST
)
public
ResponseModel
start
(
@RequestBody
ContingencyPlanParamVo
vo
)
{
...
...
@@ -196,6 +197,7 @@ public class ContingencyPlanController extends AbstractBaseController {
return
CommonResponseUtil2
.
success
(
result
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"装备确景"
)
@RequestMapping
(
value
=
"/scene"
,
method
=
RequestMethod
.
GET
)
public
ResponseModel
scene
(
@ApiParam
(
value
=
"装备Id"
,
required
=
true
)
String
equipmentId
,
...
...
@@ -208,6 +210,7 @@ public class ContingencyPlanController extends AbstractBaseController {
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"预案启动记录分页列表"
)
@RequestMapping
(
value
=
"/record/page"
,
method
=
RequestMethod
.
GET
)
public
ResponseModel
recordList
(
...
...
@@ -229,6 +232,7 @@ public class ContingencyPlanController extends AbstractBaseController {
return
CommonResponseUtil2
.
success
(
contingencyPlanService
.
recordListByPage
(
page
,
planId
,
planName
,
classifyId
,
startTimeLeft
,
startTimeRight
,
executionType
,
planPattern
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"第一次查看预案记录"
)
@RequestMapping
(
value
=
"/frist/getRecord/{batchNo}"
,
method
=
RequestMethod
.
GET
)
public
ResponseModel
firstGetRecord
(
@PathVariable
(
value
=
"batchNo"
)
String
batchNo
)
{
...
...
@@ -236,6 +240,7 @@ public class ContingencyPlanController extends AbstractBaseController {
return
CommonResponseUtil2
.
success
(
map
);
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
value
=
"查看预案记录列表"
)
@RequestMapping
(
value
=
"/getRecordList/{batchNo}"
,
method
=
RequestMethod
.
GET
)
public
ResponseModel
getRecordList
(
@PathVariable
(
value
=
"batchNo"
)
String
batchNo
)
{
...
...
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