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
75b08b3a
Commit
75b08b3a
authored
Aug 01, 2024
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决冲突
parent
efd5844a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
7 deletions
+5
-7
AlarmStatisticController.java
...join/equipmanage/controller/AlarmStatisticController.java
+3
-4
PoolStatisticController.java
...ejoin/equipmanage/controller/PoolStatisticController.java
+1
-2
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/AlarmStatisticController.java
View file @
75b08b3a
...
@@ -47,8 +47,7 @@ public class AlarmStatisticController extends AbstractBaseController {
...
@@ -47,8 +47,7 @@ public class AlarmStatisticController extends AbstractBaseController {
return
CommonResponseUtil
.
success
(
list
);
return
CommonResponseUtil
.
success
(
list
);
}
}
@PersonIdentify
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/alarmList"
)
@GetMapping
(
value
=
"/alarmList"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防告警信息"
,
notes
=
"消防告警信息"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"消防告警信息"
,
notes
=
"消防告警信息"
)
public
ResponseModel
alarmList
(
@RequestParam
Integer
pageNumber
,
public
ResponseModel
alarmList
(
@RequestParam
Integer
pageNumber
,
...
@@ -78,7 +77,7 @@ public class AlarmStatisticController extends AbstractBaseController {
...
@@ -78,7 +77,7 @@ public class AlarmStatisticController extends AbstractBaseController {
return
CommonResponseUtil
.
success
(
iEmergencyService
.
alarmList
(
page
,
bizOrgCode
,
systemCode
,
types
,
emergencyLevels
,
name
,
cleanStatus
,
handleStatus
,
createDate
,
startDate
,
endDate
));
return
CommonResponseUtil
.
success
(
iEmergencyService
.
alarmList
(
page
,
bizOrgCode
,
systemCode
,
types
,
emergencyLevels
,
name
,
cleanStatus
,
handleStatus
,
createDate
,
startDate
,
endDate
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"报警趋势统计"
)
@ApiOperation
(
value
=
"报警趋势统计"
)
@GetMapping
(
"/statistic/trend"
)
@GetMapping
(
"/statistic/trend"
)
public
ResponseModel
getSystemAlarmTrend
(
@RequestParam
(
value
=
"systemCode"
,
required
=
false
)
String
systemCode
,
public
ResponseModel
getSystemAlarmTrend
(
@RequestParam
(
value
=
"systemCode"
,
required
=
false
)
String
systemCode
,
...
@@ -86,7 +85,7 @@ public class AlarmStatisticController extends AbstractBaseController {
...
@@ -86,7 +85,7 @@ public class AlarmStatisticController extends AbstractBaseController {
return
CommonResponseUtil
.
success
(
iFireFightingSystemService
.
getCenterSystemAlarmTrend
(
systemCode
,
updateTime
));
return
CommonResponseUtil
.
success
(
iFireFightingSystemService
.
getCenterSystemAlarmTrend
(
systemCode
,
updateTime
));
}
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"系统告警事件数量占比"
)
@ApiOperation
(
value
=
"系统告警事件数量占比"
)
@GetMapping
(
"/num"
)
@GetMapping
(
"/num"
)
public
ResponseModel
getSystemAlarmNum
(
@RequestParam
(
value
=
"bizOrgCode"
,
required
=
false
)
String
bizOrgCode
)
{
public
ResponseModel
getSystemAlarmNum
(
@RequestParam
(
value
=
"bizOrgCode"
,
required
=
false
)
String
bizOrgCode
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/controller/PoolStatisticController.java
View file @
75b08b3a
...
@@ -282,9 +282,8 @@ public class PoolStatisticController {
...
@@ -282,9 +282,8 @@ public class PoolStatisticController {
return
CommonResponseUtil
.
success
(
page1
);
return
CommonResponseUtil
.
success
(
page1
);
}
}
@PersonIdentify
@RequestMapping
(
value
=
"/selectWaterLevelDetail"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/selectWaterLevelDetail"
,
method
=
RequestMethod
.
GET
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"水池液位详情"
,
produces
=
"application/json;charset=UTF-8"
,
notes
=
"水池液位详情"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"水池液位详情"
,
produces
=
"application/json;charset=UTF-8"
,
notes
=
"水池液位详情"
)
public
ResponseModel
selectWaterLevelDetail
(
@RequestParam
(
value
=
"equipmentSpecificId"
)
String
equipmentSpecificId
,
public
ResponseModel
selectWaterLevelDetail
(
@RequestParam
(
value
=
"equipmentSpecificId"
)
String
equipmentSpecificId
,
@RequestParam
(
value
=
"startTime"
,
required
=
false
)
String
startTime
,
@RequestParam
(
value
=
"startTime"
,
required
=
false
)
String
startTime
,
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
75b08b3a
...
@@ -7008,7 +7008,7 @@
...
@@ -7008,7 +7008,7 @@
wes.name,
wes.name,
CASE WHEN wesi.equipment_index_key = 'CAFS_GunValve_Open' AND wesi.`value` = 'true' THEN '开启'
CASE WHEN wesi.equipment_index_key = 'CAFS_GunValve_Open' AND wesi.`value` = 'true' THEN '开启'
WHEN wesi.equipment_index_key = 'CAFS_GunValve_Close' AND wesi.`value` = 'true' THEN '关闭' ELSE '关闭' END AS stateValue,
WHEN wesi.equipment_index_key = 'CAFS_GunValve_Close' AND wesi.`value` = 'true' THEN '关闭' ELSE '关闭' END AS stateValue,
CASE WHEN wesi.equipment_index_key = 'CAFS_CAFSFireGun_FireGunPressure' THEN wesi.`value` END
AS `pressureValue`
IFNULL(CASE WHEN wesi.equipment_index_key = 'CAFS_CAFSFireGun_FireGunPressure' THEN IFNULL(wesi.`value`, 0) END, 0)
AS `pressureValue`
FROM
FROM
wl_equipment_specific wes
wl_equipment_specific wes
LEFT JOIN wl_equipment_specific_index wesi ON wesi.equipment_specific_id = wes.id
LEFT JOIN wl_equipment_specific_index wesi ON wesi.equipment_specific_id = wes.id
...
...
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