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
25a1d9fc
Commit
25a1d9fc
authored
Jul 28, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏兼容垃圾数据
parent
b82139da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
StationBasicServiceImpl.java
...odule/jxiop/biz/service/impl/StationBasicServiceImpl.java
+3
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/StationBasicServiceImpl.java
View file @
25a1d9fc
...
@@ -35,6 +35,7 @@ import org.typroject.tyboot.core.restful.utils.ResponseHelper;
...
@@ -35,6 +35,7 @@ import org.typroject.tyboot.core.restful.utils.ResponseHelper;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
java.util.LinkedList
;
import
java.util.LinkedList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.stream.Collectors
;
/**
/**
* 场站基础信息表服务实现类
* 场站基础信息表服务实现类
...
@@ -309,8 +310,9 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto, Statio
...
@@ -309,8 +310,9 @@ public class StationBasicServiceImpl extends BaseService<StationBasicDto, Statio
if
(
list
.
isEmpty
())
{
if
(
list
.
isEmpty
())
{
list
.
addAll
(
stationBasicMapper
.
getStationList
(
null
));
list
.
addAll
(
stationBasicMapper
.
getStationList
(
null
));
}
}
List
<
StationRecordInfo
>
stationRecordInfoList
=
list
.
stream
().
filter
(
stationRecordInfo
->
!
org
.
springframework
.
util
.
ObjectUtils
.
isEmpty
(
stationRecordInfo
.
getTitlePos
())).
collect
(
Collectors
.
toList
());
//便利返回给地图的数据并对数据进行处理
//便利返回给地图的数据并对数据进行处理
l
ist
.
forEach
(
stationRecordInfo
->
{
stationRecordInfoL
ist
.
forEach
(
stationRecordInfo
->
{
StationInfoDto
stationInfoDto
=
new
StationInfoDto
();
StationInfoDto
stationInfoDto
=
new
StationInfoDto
();
stationInfoDto
.
setStationId
(
stationRecordInfo
.
getStationId
());
stationInfoDto
.
setStationId
(
stationRecordInfo
.
getStationId
());
stationInfoDto
.
setPlatformStationId
(
stationRecordInfo
.
getPlatformStationId
());
stationInfoDto
.
setPlatformStationId
(
stationRecordInfo
.
getPlatformStationId
());
...
...
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