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
ec9a53b9
Commit
ec9a53b9
authored
May 09, 2020
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.删除多余代码
parent
e4af6fbc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
19 deletions
+0
-19
RiskModelController.java
...oin/amos/fas/business/controller/RiskModelController.java
+0
-1
RiskSourceController.java
...in/amos/fas/business/controller/RiskSourceController.java
+0
-18
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/RiskModelController.java
View file @
ec9a53b9
...
...
@@ -86,7 +86,6 @@ public class RiskModelController extends BaseController {
* 风险模型删除
*/
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"风险模型删除"
,
notes
=
"风险模型删除"
)
//@Authorization(ingore = true)
@RequestMapping
(
value
=
"/riskSource/deleteRiskSource"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
public
CommonResponse
deleteRiskSource
(
@ApiParam
(
value
=
"风险模型id"
,
required
=
true
)
@RequestBody
Long
[]
riskSourceId
)
{
try
{
...
...
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/controller/RiskSourceController.java
View file @
ec9a53b9
...
...
@@ -541,14 +541,12 @@ public class RiskSourceController extends BaseController {
return
CommonResponseUtil
.
success
(
riskSourceService
.
listEquipmentPointById
(
fmeaId
,
importantEquipId
,
equimentId
,
equipmentPointName
));
}
// @Authorization(ingore = true)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"上传消防设备数据"
,
notes
=
"上传消防设备数据"
)
@RequestMapping
(
value
=
"/data/fireqeuiment"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
PUT
)
public
CommonResponse
postFireEqumentData
(
@RequestBody
FireEquimentDataRo
deviceData
)
throws
Exception
{
return
CommonResponseUtil
.
success
(
riskSourceService
.
processFireEqumtData
(
deviceData
));
}
// @Authorization(ingore = true)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"上传消防设备数据"
,
notes
=
"上传消防设备数据"
)
@RequestMapping
(
value
=
"/data/fireqeuiment/soe"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
public
CommonResponse
postFireEqumentData
(
@RequestBody
AlarmParam
alarm
)
throws
Exception
{
...
...
@@ -557,7 +555,6 @@ public class RiskSourceController extends BaseController {
return
CommonResponseUtil
.
success
();
}
// @Authorization(ingore = true)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"上传消防设备数据"
,
notes
=
"上传消防设备数据"
)
@RequestMapping
(
value
=
"/data/fireqeuiment/all"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
POST
)
public
CommonResponse
postFireEqumentData
(
@RequestBody
List
<
AlarmParam
>
deviceDatas
)
throws
Exception
{
...
...
@@ -574,7 +571,6 @@ public class RiskSourceController extends BaseController {
return
CommonResponseUtil
.
success
();
}
//@Authorization(ingore = true)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"上传巡检任务数据"
,
notes
=
"上传巡检任务数据"
)
@RequestMapping
(
value
=
"/data/task"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
PUT
)
public
CommonResponse
postTaskData
(
@RequestBody
ProtalDataRo
taskData
)
throws
Exception
{
...
...
@@ -582,19 +578,6 @@ public class RiskSourceController extends BaseController {
return
CommonResponseUtil
.
success
(
riskSourceService
.
processTaskData
(
taskData
));
}
// @ApiOperation(httpMethod = "POST", value = "删除风险点巡检点检查项", notes = "删除风险点巡检点检查项")
// @RequestMapping(value = "/removeByRSIdAndPId", produces = "application/json;charset=UTF-8", method = RequestMethod.POST)
// @Authorization(ingore = true)
// public CommonResponse removeByRSIdAndPId(@RequestBody List<HashMap<String, String>> list) throws Exception {
// try {
// riskSourceService.removeByRSIdAndPId(list);
// return CommonResponseUtil.success();
// } catch (Exception e) {
// log.error(e.getMessage(), e);
// return CommonResponseUtil.failure("删除失败");
// }
// }
/**
* 查询风险点明细
*
...
...
@@ -639,7 +622,6 @@ public class RiskSourceController extends BaseController {
return
CommonResponseUtil
.
success
();
}
//@Authorization(ingore = true)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"初始化預案水資源"
,
notes
=
"初始化預案水資源"
)
@RequestMapping
(
value
=
"/contingency/water"
,
produces
=
"application/json;charset=UTF-8"
,
method
=
RequestMethod
.
GET
)
public
CommonResponse
queryContingencyWater
()
{
...
...
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