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
c6af7688
Commit
c6af7688
authored
Jul 19, 2022
by
KeYong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_station' into develop_station
parents
d30825f1
2e0a0ede
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
64 additions
and
3 deletions
+64
-3
SystemTypeEnum.java
.../com/yeejoin/equipmanage/common/enums/SystemTypeEnum.java
+2
-2
FireFightingSystemMapper.java
.../yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
+35
-0
FireFightingSystemServiceImpl.java
...uipmanage/service/impl/FireFightingSystemServiceImpl.java
+6
-0
FireFightingSystemMapper.xml
...ip/src/main/resources/mapper/FireFightingSystemMapper.xml
+21
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-equip-api/src/main/java/com/yeejoin/equipmanage/common/enums/SystemTypeEnum.java
View file @
c6af7688
...
@@ -17,8 +17,8 @@ public enum SystemTypeEnum {
...
@@ -17,8 +17,8 @@ public enum SystemTypeEnum {
fireFoamMistSys
(
"fireFoamMistSys"
,
"细水雾涡扇炮系统"
),
fireFoamMistSys
(
"fireFoamMistSys"
,
"细水雾涡扇炮系统"
),
fireWaterSys
(
"fireWaterSys"
,
"消防给水系统"
),
fireWaterSys
(
"fireWaterSys"
,
"消防给水系统"
),
otherSys
(
"otherSys"
,
"其他系统"
),
otherSys
(
"otherSys"
,
"其他系统"
),
envMonitoringSys
(
"envMonitoringSys"
,
"环境监测系统"
)
;
envMonitoringSys
(
"envMonitoringSys"
,
"环境监测系统"
)
,
fireSpraySys
(
"fireSpraySys"
,
"换流变水喷雾系统"
);
private
String
code
;
private
String
code
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/mapper/FireFightingSystemMapper.java
View file @
c6af7688
...
@@ -208,4 +208,39 @@ public interface FireFightingSystemMapper extends BaseMapper<FireFightingSystemE
...
@@ -208,4 +208,39 @@ public interface FireFightingSystemMapper extends BaseMapper<FireFightingSystemE
*/
*/
Map
<
String
,
Object
>
fireFoamSysEquipmentNumber
();
Map
<
String
,
Object
>
fireFoamSysEquipmentNumber
();
/**
* 换流变水喷雾系统Top5
* @return Map<String,Object>
*
*/
Map
<
String
,
Object
>
fireSpraySysTop
();
/**
* 换流变水喷雾系统设备状态
* @return Map<String,Object>
*
*/
Map
<
String
,
Object
>
fireSpraySys3Status
();
/**
* 换流变水喷雾系统今日设备状态
* @return Map<String,Object>
*
*/
Map
<
String
,
Object
>
fireSpraySys4Status
();
/**
* 换流变水喷雾系统风险趋势
* @return Map<String,Object>
*
*/
Map
<
String
,
Object
>
fireSpraySysRisk
();
/**
* 换流变水喷雾系统告警信息
* @return Map<String,Object>
*
*/
Map
<
String
,
Object
>
fireSpraySys4Alarm
();
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/FireFightingSystemServiceImpl.java
View file @
c6af7688
...
@@ -828,6 +828,12 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
...
@@ -828,6 +828,12 @@ public class FireFightingSystemServiceImpl extends ServiceImpl<FireFightingSyste
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysWaterPump
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysWaterPump
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysHydrant
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysHydrant
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysPipeNetwork
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireWaterSysPipeNetwork
());
}
else
if
(
SystemTypeEnum
.
fireSpraySys
.
getCode
().
equals
(
systemCode
)){
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireSpraySysTop
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireSpraySys3Status
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireSpraySys4Status
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireSpraySysRisk
());
this
.
putAll
(
data
,
fireFightingSystemMapper
.
fireSpraySys4Alarm
());
}
else
{
}
else
{
data
=
fireFightingSystemMapper
.
otherSysIndexNumAndTotal
();
data
=
fireFightingSystemMapper
.
otherSysIndexNumAndTotal
();
}
}
...
...
amos-boot-system-equip/src/main/resources/mapper/FireFightingSystemMapper.xml
View file @
c6af7688
...
@@ -853,7 +853,27 @@
...
@@ -853,7 +853,27 @@
<select
id=
"getFireOnlSystem"
resultType=
"Map"
>
<select
id=
"getFireOnlSystem"
resultType=
"Map"
>
select * from v_fire_onl_num
select * from v_fire_onl_num
</select>
</select>
<select
id=
"fireSpraySysTop"
resultType=
"Map"
>
select * from v_fire_equip_alarm_60list_water_top
</select>
<select
id=
"fireSpraySys3Status"
resultType=
"Map"
>
select * from v_fire_equip_alarm_60list_water_status
</select>
<select
id=
"fireSpraySys4Status"
resultType=
"Map"
>
select * from v_fire_equip_alarm_60list_water_4status
</select>
<select
id=
"fireSpraySysRisk"
resultType=
"Map"
>
select * from v_fire_equip_alarm_60list_water_week
</select>
<select
id=
"fireSpraySys4Alarm"
resultType=
"Map"
>
select * from v_fire_equip_alarm_60list_water_stat
</select>
<select
id=
"getFireCafsSystem"
resultType=
"Map"
>
<select
id=
"getFireCafsSystem"
resultType=
"Map"
>
select * from v_fire_cafs_num
select * from v_fire_cafs_num
</select>
</select>
...
...
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