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
ad65c05d
Commit
ad65c05d
authored
Aug 06, 2024
by
史志龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
道床病害分析--shizhilong
parent
9ac425d6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
AnalysisLineBatchController.java
...seaseAnalysis/controller/AnalysisLineBatchController.java
+3
-2
WorkBatchController.java
...dules/maintenanceWork/controller/WorkBatchController.java
+3
-1
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/controller/AnalysisLineBatchController.java
View file @
ad65c05d
...
@@ -226,9 +226,10 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
...
@@ -226,9 +226,10 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
@AutoLog
(
value
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
)
@AutoLog
(
value
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
)
@ApiOperation
(
value
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
,
notes
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
)
@ApiOperation
(
value
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
,
notes
=
"线路质量分析-其他病害分析-道床单元详情检查记录查询"
)
@GetMapping
(
value
=
"/getAnalysisLineBatchUnitDeviceTrackBedInfoList"
)
@GetMapping
(
value
=
"/getAnalysisLineBatchUnitDeviceTrackBedInfoList"
)
public
Result
<
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>>
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
@RequestParam
String
analysisBatchId
,
@RequestParam
String
ekId
,
@RequestParam
String
deviceId
)
{
public
Result
<
Map
<
String
,
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
>>
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
@RequestParam
String
analysisBatchId
,
@RequestParam
String
ekId
,
@RequestParam
String
deviceId
)
{
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
return
Result
.
OK
(
list
);
Map
<
String
,
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>>
map
=
list
.
stream
().
collect
(
Collectors
.
groupingBy
(
AnalysisLineBatchUnitDeviceTrackBedInfoVO:
:
getTrackBedCode
));
return
Result
.
OK
(
map
);
}
}
/**
/**
* 线路质量分析-其他病害分析-线路巡查巡道员检查详情
* 线路质量分析-其他病害分析-线路巡查巡道员检查详情
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/controller/WorkBatchController.java
View file @
ad65c05d
...
@@ -31,6 +31,7 @@ import javax.annotation.Resource;
...
@@ -31,6 +31,7 @@ import javax.annotation.Resource;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
/**
/**
* <p>
* <p>
...
@@ -132,8 +133,9 @@ public class WorkBatchController extends JeecgController<WorkBatch, IWorkBatchSe
...
@@ -132,8 +133,9 @@ public class WorkBatchController extends JeecgController<WorkBatch, IWorkBatchSe
map
.
put
(
"zg"
,
corrugationInfoList
);
map
.
put
(
"zg"
,
corrugationInfoList
);
}
else
if
(
analysisType
==
5
){
}
else
if
(
analysisType
==
5
){
List
<
WorkBatchDetailTrackBedInfoVO
>
trackBedInfoList
=
this
.
service
.
getWorkBatchDetailTrackBedInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailTrackBedInfoVO
>
trackBedInfoList
=
this
.
service
.
getWorkBatchDetailTrackBedInfoList
(
workId
,
workInfoId
);
Map
<
String
,
List
<
WorkBatchDetailTrackBedInfoVO
>>
trackBedMap
=
trackBedInfoList
.
stream
().
collect
(
Collectors
.
groupingBy
(
WorkBatchDetailTrackBedInfoVO:
:
getTrackBedCode
));
//整改道床检查超限数据
//整改道床检查超限数据
map
.
put
(
"zg"
,
trackBed
InfoList
);
map
.
put
(
"zg"
,
trackBed
Map
);
}
else
{
}
else
{
List
<
WorkBatchDetailPatrolInfoVO
>
patrolInfoList
=
this
.
service
.
getWorkBatchDetailPatrolInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailPatrolInfoVO
>
patrolInfoList
=
this
.
service
.
getWorkBatchDetailPatrolInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailPatrolAssistInfoVO
>
patrolAssistInfoList
=
this
.
service
.
getWorkBatchDetailPatrolAssistInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailPatrolAssistInfoVO
>
patrolAssistInfoList
=
this
.
service
.
getWorkBatchDetailPatrolAssistInfoList
(
workId
,
workInfoId
);
...
...
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