Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
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
ZTGK
hzsomms
Commits
494af3c1
Commit
494af3c1
authored
Jul 18, 2023
by
史志龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-szl' into 'dev'
导入顺序问题 --shizhilong See merge request
!24
parents
abcb0a49
8b34ffc6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
11 deletions
+3
-11
MovementRecordsMasterController.java
...CheckData/controller/MovementRecordsMasterController.java
+1
-10
MovementCourseInfoOneVO.java
...ckData/equipmentCheckData/vo/MovementCourseInfoOneVO.java
+2
-1
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/checkData/equipmentCheckData/controller/MovementRecordsMasterController.java
View file @
494af3c1
...
...
@@ -14,7 +14,6 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
javafx.scene.effect.Light
;
import
org.apache.shiro.SecurityUtils
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.aspect.annotation.AutoLog
;
...
...
@@ -29,7 +28,6 @@ import org.jeecg.modules.checkData.equipmentCheckData.service.IMovementCourseInf
import
org.jeecg.modules.checkData.equipmentCheckData.service.IMovementCourseService
;
import
org.jeecg.modules.checkData.equipmentCheckData.service.IMovementRecordsMasterService
;
import
org.jeecg.modules.checkData.equipmentCheckData.vo.*
;
import
org.jeecg.modules.deviceAsset.entity.RailManagement
;
import
org.jeecg.modules.subwayNetwork.entity.LightRail
;
import
org.jeecg.modules.subwayNetwork.entity.LineAlias
;
import
org.jeecg.modules.subwayNetwork.entity.SubwaySection
;
...
...
@@ -44,11 +42,8 @@ import org.jeecg.common.system.base.controller.JeecgController;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.transaction.Transactional
;
import
java.io.ByteArrayInputStream
;
import
java.io.IOException
;
import
java.math.BigDecimal
;
import
java.util.*
;
import
java.util.regex.Matcher
;
import
java.util.regex.Pattern
;
import
java.util.stream.Collectors
;
...
...
@@ -193,11 +188,7 @@ public class MovementRecordsMasterController extends JeecgController<MovementRec
//初始化最终返回的集合
List
<
MovementCourseInfoOneVO
>
resultList
=
new
ArrayList
<>();
if
(
listResult
!=
null
&&
listResult
.
size
()
>
0
)
{
//获取去重后的项目名称的集合
Set
<
String
>
trackCodeList1
=
listResult
.
stream
().
map
(
MovementCourseInfo:
:
getTrackCode
).
collect
(
Collectors
.
toSet
());
List
<
String
>
trackCodeList
=
trackCodeList1
.
stream
().
collect
(
Collectors
.
toList
());
//针对轨号进行倒序排序
Collections
.
reverse
(
trackCodeList
);
List
<
String
>
trackCodeList
=
listResult
.
stream
().
map
(
MovementCourseInfo:
:
getTrackCode
).
distinct
().
collect
(
Collectors
.
toList
());
for
(
String
code
:
trackCodeList
)
{
//初始化最终返回的对象
MovementCourseInfoOneVO
resultModel
=
new
MovementCourseInfoOneVO
();
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/checkData/equipmentCheckData/vo/MovementCourseInfoOneVO.java
View file @
494af3c1
...
...
@@ -3,8 +3,10 @@ package org.jeecg.modules.checkData.equipmentCheckData.vo;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
org.jetbrains.annotations.NotNull
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -26,5 +28,4 @@ public class MovementCourseInfoOneVO {
@ApiModelProperty
(
"轨号对应的详情集合"
)
private
List
<
MovementCourseInfoVO
>
infoList
;
}
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