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
09d8856a
Commit
09d8856a
authored
Jul 31, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.应急中评增加统计项
parent
0b69f7cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
AlertStatisticsMapper.xml
...s-api/src/main/resources/mapper/AlertStatisticsMapper.xml
+2
-2
YJDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
+4
-4
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-api/src/main/resources/mapper/AlertStatisticsMapper.xml
View file @
09d8856a
...
...
@@ -153,8 +153,8 @@
</select>
<select
id=
"countEmergencyEventsByOrgCodeAndDate2"
resultType=
"com.yeejoin.amos.boot.biz.common.dto.CountDto"
>
SELECT
ifnull (SUM ( CASE WHEN father_alert IS NULL THEN 1 ELSE 0 END ), 0) AS
total as
longValue,
alarm_type_code as keyStr
,
ifnull (SUM ( CASE WHEN father_alert IS NULL THEN 1 ELSE 0 END ), 0) AS longValue,
alarm_type_code as keyStr
FROM
tz_alert_called
WHERE
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
View file @
09d8856a
...
...
@@ -407,13 +407,13 @@ public class YJDPStatisticsServiceImpl {
// 杂物电梯(台)
result
.
put
(
"zhdtCount"
,
equDefineNumMap
.
getOrDefault
(
"3430"
,
0L
));
// 应急事件(起)
result
.
put
(
"alarmCount"
,
alertTypeNumMap
.
get
(
DispatchPaperEnums
.
KRJY
.
getId
())
+
alertTypeNumMap
.
get
(
DispatchPaperEnums
.
GZWX
.
getId
()
));
result
.
put
(
"alarmCount"
,
alertTypeNumMap
.
get
OrDefault
(
DispatchPaperEnums
.
KRJY
.
getId
(),
0L
)
+
alertTypeNumMap
.
getOrDefault
(
DispatchPaperEnums
.
GZWX
.
getId
(),
0L
));
// 困人救援事件(起)
result
.
put
(
"krjysjCount"
,
alertTypeNumMap
.
get
(
DispatchPaperEnums
.
KRJY
.
getId
()
));
result
.
put
(
"krjysjCount"
,
alertTypeNumMap
.
get
OrDefault
(
DispatchPaperEnums
.
KRJY
.
getId
(),
0L
));
// 故障维修(起)
result
.
put
(
"gzwxCount"
,
alertTypeNumMap
.
get
(
DispatchPaperEnums
.
GZWX
.
getId
()
));
result
.
put
(
"gzwxCount"
,
alertTypeNumMap
.
get
OrDefault
(
DispatchPaperEnums
.
GZWX
.
getId
(),
0L
));
// 投诉咨询(起)
result
.
put
(
"tszxCount"
,
alertTypeNumMap
.
get
(
DispatchPaperEnums
.
TSZX
.
getId
()
));
result
.
put
(
"tszxCount"
,
alertTypeNumMap
.
get
OrDefault
(
DispatchPaperEnums
.
TSZX
.
getId
(),
0L
));
// 解救被困乘客数(人)
result
.
put
(
"jjbkcksCount"
,
alertStatisticsMapper
.
countRescuedPersonNum
(
orgCode
,
filterParamDto
));
return
result
;
...
...
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