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
1c330024
Commit
1c330024
authored
Aug 13, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(统计-应急-事件分布 (按场所)):1,设备使用场所的匹配应该用code,不是sequence_nbr
parent
ec292913
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
YJDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
+3
-3
No files found.
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 @
1c330024
...
...
@@ -181,9 +181,9 @@ public class YJDPStatisticsServiceImpl {
Map
<
String
,
Long
>
addressNumMap
=
maps
.
stream
().
collect
(
Collectors
.
toMap
(
CountDto:
:
getKeyStr
,
CountDto:
:
getLongValue
));
ydata
=
dataDictionaries
.
stream
().
map
(
d
->
{
Long
num
=
0L
;
// 目前USE_PLACE字段存放字典的
id
if
(
addressNumMap
.
get
(
d
.
get
SequenceNbr
().
toString
())
!=
null
)
{
num
=
addressNumMap
.
get
(
d
.
get
SequenceNbr
().
toString
());
// 目前USE_PLACE字段存放字典的
code
if
(
addressNumMap
.
get
(
d
.
get
Code
())
!=
null
)
{
num
=
addressNumMap
.
get
(
d
.
get
Code
());
}
// 数据库中老数据历史问题存放字典的name,兼容对老数据的统计
if
(
addressNumMap
.
get
(
d
.
getName
())
!=
null
)
{
...
...
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