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
f7273557
Commit
f7273557
authored
Jul 24, 2024
by
刘凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*)事件分布增加事件过滤
parent
e0cd4fad
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
AlertCalledMapper.java
...os/boot/module/elevator/api/mapper/AlertCalledMapper.java
+2
-1
AlertCalledMapper.xml
...96333-api/src/main/resources/mapper/AlertCalledMapper.xml
+6
-0
DPStatisticsServiceImpl.java
...le/elevator/biz/service/impl/DPStatisticsServiceImpl.java
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/java/com/yeejoin/amos/boot/module/elevator/api/mapper/AlertCalledMapper.java
View file @
f7273557
...
...
@@ -3,6 +3,7 @@ package com.yeejoin.amos.boot.module.elevator.api.mapper;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamDto
;
import
com.yeejoin.amos.boot.module.elevator.api.dto.AlertCalledQueryDto
;
import
com.yeejoin.amos.boot.module.elevator.api.dto.AlertCalledRecordDto
;
import
com.yeejoin.amos.boot.module.elevator.api.dto.AlertPaperInfoDto
;
...
...
@@ -52,7 +53,7 @@ public interface AlertCalledMapper extends BaseMapper<AlertCalled> {
*
* @return
*/
List
<
Map
<
String
,
Object
>>
queryListByLocation
(
@Param
(
"regionCode"
)
String
regionCode
);
List
<
Map
<
String
,
Object
>>
queryListByLocation
(
@Param
(
"regionCode"
)
String
regionCode
,
@Param
(
"dto"
)
DPFilterParamDto
filterParamDto
);
/**
* 接警情况统计
*
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-api/src/main/resources/mapper/AlertCalledMapper.xml
View file @
f7273557
...
...
@@ -152,6 +152,12 @@
AND
ibjuj.USE_PLACE is NOT NULL
AND cdd.NAME is NOT NULL
<if
test=
"dto.beginDate !=null and dto.beginDate !=''"
>
and date_ge(CAST(tac.call_time as date),#{dto.beginDate})
</if>
<if
test=
"dto.endDate !=null and dto.endDate !=''"
>
and date_le(CAST(tac.call_time as date),#{dto.endDate})
</if>
GROUP BY
cdd.NAME
ORDER BY ibjuj.USE_PLACE ASC
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/DPStatisticsServiceImpl.java
View file @
f7273557
...
...
@@ -133,7 +133,7 @@ public class DPStatisticsServiceImpl {
public
JSONObject
eventStatByLocation
(
DPFilterParamDto
dpFilterParamDto
)
throws
Exception
{
String
orgCode
=
this
.
getAndSetOrgCode
(
dpFilterParamDto
);
List
<
Map
<
String
,
Object
>>
maps
=
alertCalledMapper
.
queryListByLocation
(
orgCode
);
List
<
Map
<
String
,
Object
>>
maps
=
alertCalledMapper
.
queryListByLocation
(
orgCode
,
dpFilterParamDto
);
List
<
Object
>
xdata
=
maps
.
stream
().
map
(
item
->
item
.
get
(
"name"
)).
collect
(
Collectors
.
toList
());
List
<
Object
>
ydata
=
maps
.
stream
().
map
(
item
->
item
.
get
(
"majorAlertCount"
)).
collect
(
Collectors
.
toList
());
...
...
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