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
6a657431
Commit
6a657431
authored
Aug 09, 2024
by
史志龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码更新--shizhilong
parent
1e53dd39
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
97 additions
and
29 deletions
+97
-29
AnalysisLineBatchMapper.xml
...es/diseaseAnalysis/mapper/xml/AnalysisLineBatchMapper.xml
+4
-1
AnalysisLineBatchWorkVO.java
...g/modules/diseaseAnalysis/vo/AnalysisLineBatchWorkVO.java
+4
-4
WorkBatchController.java
...dules/maintenanceWork/controller/WorkBatchController.java
+2
-1
DispatchDTO.java
...va/org/jeecg/modules/maintenanceWork/dto/DispatchDTO.java
+6
-0
WorkBatchSaveOrUpdateDetailDTO.java
...s/maintenanceWork/dto/WorkBatchSaveOrUpdateDetailDTO.java
+6
-0
WorkBatchDetail.java
...jeecg/modules/maintenanceWork/entity/WorkBatchDetail.java
+8
-0
WorkBatchDetailMapper.xml
...ules/maintenanceWork/mapper/xml/WorkBatchDetailMapper.xml
+3
-1
WorkBatchServiceImpl.java
...es/maintenanceWork/service/impl/WorkBatchServiceImpl.java
+58
-22
WorkBatchDetailVO.java
...g/jeecg/modules/maintenanceWork/vo/WorkBatchDetailVO.java
+6
-0
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/mapper/xml/AnalysisLineBatchMapper.xml
View file @
6a657431
...
@@ -273,10 +273,13 @@
...
@@ -273,10 +273,13 @@
<select
id=
"getWorkPageList"
resultType=
"org.jeecg.modules.diseaseAnalysis.vo.AnalysisLineBatchWorkVO"
>
<select
id=
"getWorkPageList"
resultType=
"org.jeecg.modules.diseaseAnalysis.vo.AnalysisLineBatchWorkVO"
>
SELECT
SELECT
t1.*,
t1.*,
t1.id as analysisBatchId,
t1.starting_mileage as unitStartMileage,
t1.end_mileage as unitEndMileage,
t2.check_time,
t2.check_time,
t2.check_by,
t2.check_by,
t2.ek_id,
t2.ek_id,
t2.ek_code
,
t2.ek_code
FROM
FROM
t_dsa_analysis_line_batch t1 left join t_dsa_analysis_line_batch_check_data_map t2 on t1.id = t2.analysis_batch_id
t_dsa_analysis_line_batch t1 left join t_dsa_analysis_line_batch_check_data_map t2 on t1.id = t2.analysis_batch_id
WHERE
WHERE
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/vo/AnalysisLineBatchWorkVO.java
View file @
6a657431
...
@@ -27,8 +27,8 @@ public class AnalysisLineBatchWorkVO {
...
@@ -27,8 +27,8 @@ public class AnalysisLineBatchWorkVO {
private
static
final
long
serialVersionUID
=
1L
;
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"主键"
)
@ApiModelProperty
(
"
分析批次
主键"
)
private
String
i
d
;
private
String
analysisBatchI
d
;
@ApiModelProperty
(
"创建人"
)
@ApiModelProperty
(
"创建人"
)
private
String
createBy
;
private
String
createBy
;
...
@@ -58,10 +58,10 @@ public class AnalysisLineBatchWorkVO {
...
@@ -58,10 +58,10 @@ public class AnalysisLineBatchWorkVO {
private
String
lineAliasName
;
private
String
lineAliasName
;
@ApiModelProperty
(
"分析起始里程"
)
@ApiModelProperty
(
"分析起始里程"
)
private
BigDecimal
starting
Mileage
;
private
BigDecimal
unitStart
Mileage
;
@ApiModelProperty
(
"分析终点里程"
)
@ApiModelProperty
(
"分析终点里程"
)
private
BigDecimal
e
ndMileage
;
private
BigDecimal
unitE
ndMileage
;
@ApiModelProperty
(
"分析状态 0-创建 1-分析中 99-分析完成"
)
@ApiModelProperty
(
"分析状态 0-创建 1-分析中 99-分析完成"
)
private
Integer
analysisStatus
;
private
Integer
analysisStatus
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/controller/WorkBatchController.java
View file @
6a657431
...
@@ -94,8 +94,9 @@ public class WorkBatchController extends JeecgController<WorkBatch, IWorkBatchSe
...
@@ -94,8 +94,9 @@ public class WorkBatchController extends JeecgController<WorkBatch, IWorkBatchSe
map
.
put
(
"cx"
,
corrugationInfoList
);
map
.
put
(
"cx"
,
corrugationInfoList
);
}
else
if
(
analysisType
==
5
){
}
else
if
(
analysisType
==
5
){
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
trackBedInfoList
=
this
.
service
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
trackBedInfoList
=
this
.
service
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
analysisBatchUnitDeviceId
);
Map
<
String
,
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>>
trackBedMap
=
trackBedInfoList
.
stream
().
collect
(
Collectors
.
groupingBy
(
AnalysisLineBatchUnitDeviceTrackBedInfoVO:
:
getTrackBedCode
));
//道床检查超限数据
//道床检查超限数据
map
.
put
(
"cx"
,
trackBed
InfoList
);
map
.
put
(
"cx"
,
trackBed
Map
);
}
else
{
}
else
{
//根据分析单元id查询巡道员备忘录
//根据分析单元id查询巡道员备忘录
String
remark
=
analysisLineBatchUnitDeviceService
.
getById
(
analysisBatchUnitDeviceId
).
getRemark
();
String
remark
=
analysisLineBatchUnitDeviceService
.
getById
(
analysisBatchUnitDeviceId
).
getRemark
();
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/dto/DispatchDTO.java
View file @
6a657431
...
@@ -29,6 +29,12 @@ public class DispatchDTO {
...
@@ -29,6 +29,12 @@ public class DispatchDTO {
@ApiModelProperty
(
"分析批id"
)
@ApiModelProperty
(
"分析批id"
)
private
String
analysisBatchId
;
private
String
analysisBatchId
;
@ApiModelProperty
(
"检查批次id"
)
private
String
ekId
;
@ApiModelProperty
(
"检查批次code"
)
private
String
ekCode
;
@ApiModelProperty
(
"单元设备id"
)
@ApiModelProperty
(
"单元设备id"
)
private
String
unitId
;
private
String
unitId
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/dto/WorkBatchSaveOrUpdateDetailDTO.java
View file @
6a657431
...
@@ -18,6 +18,12 @@ public class WorkBatchSaveOrUpdateDetailDTO {
...
@@ -18,6 +18,12 @@ public class WorkBatchSaveOrUpdateDetailDTO {
@ApiModelProperty
(
"分析批次code"
)
@ApiModelProperty
(
"分析批次code"
)
private
String
analysisBatchCode
;
private
String
analysisBatchCode
;
@ApiModelProperty
(
"检查批次id"
)
private
String
ekId
;
@ApiModelProperty
(
"检查批次code"
)
private
String
ekCode
;
@ApiModelProperty
(
"单元设备id"
)
@ApiModelProperty
(
"单元设备id"
)
private
String
unitId
;
private
String
unitId
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/entity/WorkBatchDetail.java
View file @
6a657431
...
@@ -69,6 +69,14 @@ public class WorkBatchDetail implements Serializable {
...
@@ -69,6 +69,14 @@ public class WorkBatchDetail implements Serializable {
@TableField
(
"analysis_batch_unit_device_id"
)
@TableField
(
"analysis_batch_unit_device_id"
)
private
String
analysisBatchUnitDeviceId
;
private
String
analysisBatchUnitDeviceId
;
@TableField
(
"ek_id"
)
@ApiModelProperty
(
"检查批次id"
)
private
String
ekId
;
@ApiModelProperty
(
"检查批次code"
)
@TableField
(
"ek_code"
)
private
String
ekCode
;
@ApiModelProperty
(
"检查日期"
)
@ApiModelProperty
(
"检查日期"
)
@TableField
(
"check_time"
)
@TableField
(
"check_time"
)
private
Date
checkTime
;
private
Date
checkTime
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/mapper/xml/WorkBatchDetailMapper.xml
View file @
6a657431
...
@@ -43,7 +43,9 @@
...
@@ -43,7 +43,9 @@
t1.reform_remark,
t1.reform_remark,
t1.remark,
t1.remark,
t1.check_by,
t1.check_by,
t1.check_time
t1.check_time,
t1.ek_id,
t1.ek_code
FROM t_mw_work_batch_detail t1
FROM t_mw_work_batch_detail t1
WHERE t1.work_batch_id in
WHERE t1.work_batch_id in
<if
test=
"workBatchIds !=null and workBatchIds.size()>0"
>
<if
test=
"workBatchIds !=null and workBatchIds.size()>0"
>
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/service/impl/WorkBatchServiceImpl.java
View file @
6a657431
...
@@ -104,7 +104,7 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -104,7 +104,7 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
});
});
//作业批次明细-超限列表
//作业批次明细-超限列表
List
<
String
>
analysisBatchUnitDeviceIds
=
workBatchDetailAllList
.
stream
().
filter
(
obj
->
obj
.
getAnalysisBatchUnitDeviceId
()
!=
null
).
map
(
WorkBatchDetailVO:
:
getAnalysisBatchUnitDeviceId
).
collect
(
Collectors
.
toList
());
List
<
String
>
analysisBatchUnitDeviceIds
=
workBatchDetailAllList
.
stream
().
filter
(
obj
->
obj
.
getAnalysisBatchUnitDeviceId
()
!=
null
).
map
(
WorkBatchDetailVO:
:
getAnalysisBatchUnitDeviceId
).
collect
(
Collectors
.
toList
());
if
(
ObjectUtil
.
isNotEmpty
(
analysisBatchUnitDeviceIds
))
{
if
(
ObjectUtil
.
isNotEmpty
(
analysisBatchUnitDeviceIds
))
{
List
<
AnalysisBatchUnitDeviceTransfiniteVO
>
transfiniteListAll
=
transfiniteMapper
.
getTransfiniteListByIds
(
analysisBatchUnitDeviceIds
);
List
<
AnalysisBatchUnitDeviceTransfiniteVO
>
transfiniteListAll
=
transfiniteMapper
.
getTransfiniteListByIds
(
analysisBatchUnitDeviceIds
);
...
@@ -122,6 +122,7 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -122,6 +122,7 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
/**
/**
* 动静态超限数据查询
* 动静态超限数据查询
*
* @param analysisBatchUnitDeviceId
* @param analysisBatchUnitDeviceId
* @return
* @return
*/
*/
...
@@ -132,9 +133,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -132,9 +133,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisBatchUnitDeviceTransfiniteVO
>
transfiniteListAll
=
transfiniteMapper
.
getTransfiniteListByIds
(
ids
);
List
<
AnalysisBatchUnitDeviceTransfiniteVO
>
transfiniteListAll
=
transfiniteMapper
.
getTransfiniteListByIds
(
ids
);
return
transfiniteListAll
;
return
transfiniteListAll
;
}
}
/**
/**
* 道岔
* 道岔
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -143,9 +146,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -143,9 +146,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisLineBatchUnitDeviceTurnoutInfoVO
>
analysisLineBatchUnitEkInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitEkInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDeviceTurnoutInfoVO
>
analysisLineBatchUnitEkInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitEkInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
return
analysisLineBatchUnitEkInfoList
;
return
analysisLineBatchUnitEkInfoList
;
}
}
/**
/**
* 钢轨伤损
* 钢轨伤损
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -157,7 +162,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -157,7 +162,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
/**
/**
* 曲线磨耗检查
* 曲线磨耗检查
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -166,9 +172,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -166,9 +172,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisLineBatchUnitDeviceCurveWearInfoVO
>
analysisLineBatchUnitDeviceCurveWearInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceCurveWearInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDeviceCurveWearInfoVO
>
analysisLineBatchUnitDeviceCurveWearInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceCurveWearInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
return
analysisLineBatchUnitDeviceCurveWearInfoList
;
return
analysisLineBatchUnitDeviceCurveWearInfoList
;
}
}
/**
/**
* 钢轨波磨检查
* 钢轨波磨检查
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -177,9 +185,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -177,9 +185,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisLineBatchUnitDeviceCorrugationInfoVO
>
analysisLineBatchUnitDeviceCorrugationInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceCorrugationInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDeviceCorrugationInfoVO
>
analysisLineBatchUnitDeviceCorrugationInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceCorrugationInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
return
analysisLineBatchUnitDeviceCorrugationInfoList
;
return
analysisLineBatchUnitDeviceCorrugationInfoList
;
}
}
/**
/**
* 道床检查
* 道床检查
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -188,9 +198,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -188,9 +198,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
analysisLineBatchUnitDeviceTrackBedInfoVOList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDeviceTrackBedInfoVO
>
analysisLineBatchUnitDeviceTrackBedInfoVOList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDeviceTrackBedInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
return
analysisLineBatchUnitDeviceTrackBedInfoVOList
;
return
analysisLineBatchUnitDeviceTrackBedInfoVOList
;
}
}
/**
/**
* 线路巡查
* 线路巡查
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -199,9 +211,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -199,9 +211,11 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
List
<
AnalysisLineBatchUnitDevicePatrolInfoVO
>
patrolInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDevicePatrolInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
List
<
AnalysisLineBatchUnitDevicePatrolInfoVO
>
patrolInfoList
=
analysisLineBatchService
.
getAnalysisLineBatchUnitDevicePatrolInfoList
(
analysisBatchId
,
""
,
analysisBatchUnitDeviceId
);
return
patrolInfoList
;
return
patrolInfoList
;
}
}
/**
/**
* 协助线路巡查
* 协助线路巡查
* @param analysisBatchId 分析批次id
*
* @param analysisBatchId 分析批次id
* @param analysisBatchUnitDeviceId 分析单元id
* @param analysisBatchUnitDeviceId 分析单元id
* @return
* @return
*/
*/
...
@@ -242,6 +256,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -242,6 +256,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
workBatchDetail
.
setAnalysisBatchCode
(
detailDTO
.
getAnalysisBatchCode
());
workBatchDetail
.
setAnalysisBatchCode
(
detailDTO
.
getAnalysisBatchCode
());
workBatchDetail
.
setCheckBy
(
detailDTO
.
getCheckBy
());
workBatchDetail
.
setCheckBy
(
detailDTO
.
getCheckBy
());
workBatchDetail
.
setCheckTime
(
detailDTO
.
getCheckTime
());
workBatchDetail
.
setCheckTime
(
detailDTO
.
getCheckTime
());
workBatchDetail
.
setEkId
(
detailDTO
.
getEkId
());
workBatchDetail
.
setEkCode
(
detailDTO
.
getEkCode
());
AnalysisLineBatchUnitDevice
model
=
analysisLineBatchUnitDeviceService
.
lambdaQuery
()
AnalysisLineBatchUnitDevice
model
=
analysisLineBatchUnitDeviceService
.
lambdaQuery
()
.
eq
(
AnalysisLineBatchUnitDevice:
:
getAnalysisBatchId
,
detailDTO
.
getAnalysisBatchId
())
.
eq
(
AnalysisLineBatchUnitDevice:
:
getAnalysisBatchId
,
detailDTO
.
getAnalysisBatchId
())
.
one
();
.
one
();
...
@@ -344,6 +360,10 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -344,6 +360,10 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
workBatchDetail
.
setAnalysisBatchUnitDeviceId
(
transfiniteDTO
.
getId
());
workBatchDetail
.
setAnalysisBatchUnitDeviceId
(
transfiniteDTO
.
getId
());
workBatchDetail
.
setCheckBy
(
transfiniteDTO
.
getCheckBy
());
workBatchDetail
.
setCheckBy
(
transfiniteDTO
.
getCheckBy
());
workBatchDetail
.
setCheckTime
(
transfiniteDTO
.
getCheckTime
());
workBatchDetail
.
setCheckTime
(
transfiniteDTO
.
getCheckTime
());
if
(
dto
.
getAnalysisType
()
!=
0
)
{
workBatchDetail
.
setEkId
(
transfiniteDTO
.
getEkId
());
workBatchDetail
.
setEkCode
(
transfiniteDTO
.
getEkCode
());
}
if
(
dto
.
getAnalysisType
()
!=
5
&&
dto
.
getAnalysisType
()
!=
6
)
{
if
(
dto
.
getAnalysisType
()
!=
5
&&
dto
.
getAnalysisType
()
!=
6
)
{
//非道床和线路巡查才存单元设备信息
//非道床和线路巡查才存单元设备信息
workBatchDetail
.
setUnitId
(
transfiniteDTO
.
getUnitId
());
workBatchDetail
.
setUnitId
(
transfiniteDTO
.
getUnitId
());
...
@@ -486,6 +506,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -486,6 +506,8 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
workBatchDetail
.
setAnalysisBatchCode
(
transfinite
.
getAnalysisBatchCode
());
workBatchDetail
.
setAnalysisBatchCode
(
transfinite
.
getAnalysisBatchCode
());
workBatchDetail
.
setCheckBy
(
dto
.
getCheckBy
());
workBatchDetail
.
setCheckBy
(
dto
.
getCheckBy
());
workBatchDetail
.
setCheckTime
(
dto
.
getCheckTime
());
workBatchDetail
.
setCheckTime
(
dto
.
getCheckTime
());
workBatchDetail
.
setEkId
(
transfinite
.
getEkId
());
workBatchDetail
.
setEkCode
(
transfinite
.
getEkCode
());
if
(
dto
.
getAnalysisType
()
!=
5
&&
dto
.
getAnalysisType
()
!=
6
)
{
if
(
dto
.
getAnalysisType
()
!=
5
&&
dto
.
getAnalysisType
()
!=
6
)
{
//非动静态分析且非道床和线路巡查分析才保存这些参数
//非动静态分析且非道床和线路巡查分析才保存这些参数
workBatchDetail
.
setUnitId
(
transfinite
.
getUnitId
());
workBatchDetail
.
setUnitId
(
transfinite
.
getUnitId
());
...
@@ -534,81 +556,95 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
...
@@ -534,81 +556,95 @@ public class WorkBatchServiceImpl extends ServiceImpl<WorkBatchMapper, WorkBatch
public
List
<
WorkBatchUserVO
>
listUser
(
String
query
)
{
public
List
<
WorkBatchUserVO
>
listUser
(
String
query
)
{
return
this
.
baseMapper
.
listUser
(
query
);
return
this
.
baseMapper
.
listUser
(
query
);
}
}
/**
/**
* 整改道岔
* 整改道岔
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailTurnoutInfoVO
>
getWorkBatchDetailTurnoutInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailTurnoutInfoVO
>
getWorkBatchDetailTurnoutInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailTurnoutInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailTurnoutInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailTurnoutInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailTurnoutInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改钢轨伤损
* 整改钢轨伤损
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailRailWearInfoVO
>
getWorkBatchDetailRailWearInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailRailWearInfoVO
>
getWorkBatchDetailRailWearInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailRailWearInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailRailWearInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailRailWearInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailRailWearInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改曲线磨耗
* 整改曲线磨耗
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailCurveWearInfoVO
>
getWorkBatchDetailCurveWearInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailCurveWearInfoVO
>
getWorkBatchDetailCurveWearInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailCurveWearInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailCurveWearInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailCurveWearInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailCurveWearInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改钢轨波磨
* 整改钢轨波磨
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailCorrugationInfoVO
>
getWorkBatchDetailCorrugationInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailCorrugationInfoVO
>
getWorkBatchDetailCorrugationInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailCorrugationInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailCorrugationInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailCorrugationInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailCorrugationInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改道床
* 整改道床
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailTrackBedInfoVO
>
getWorkBatchDetailTrackBedInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailTrackBedInfoVO
>
getWorkBatchDetailTrackBedInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailTrackBedInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailTrackBedInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailTrackBedInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailTrackBedInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改线路巡查
* 整改线路巡查
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailPatrolInfoVO
>
getWorkBatchDetailPatrolInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailPatrolInfoVO
>
getWorkBatchDetailPatrolInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailPatrolInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailPatrolInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailPatrolInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailPatrolInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
/**
/**
* 整改协助线路巡查
* 整改协助线路巡查
* @param workId 维修主表id
*
* @param workId 维修主表id
* @param workInfoId 维修单元表id
* @param workInfoId 维修单元表id
* @return
* @return
*/
*/
@Override
@Override
public
List
<
WorkBatchDetailPatrolAssistInfoVO
>
getWorkBatchDetailPatrolAssistInfoList
(
String
workId
,
String
workInfoId
)
{
public
List
<
WorkBatchDetailPatrolAssistInfoVO
>
getWorkBatchDetailPatrolAssistInfoList
(
String
workId
,
String
workInfoId
)
{
List
<
WorkBatchDetailPatrolAssistInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailPatrolAssistInfoList
(
workId
,
workInfoId
);
List
<
WorkBatchDetailPatrolAssistInfoVO
>
list
=
this
.
baseMapper
.
getWorkBatchDetailPatrolAssistInfoList
(
workId
,
workInfoId
);
return
list
;
return
list
;
}
}
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/maintenanceWork/vo/WorkBatchDetailVO.java
View file @
6a657431
...
@@ -47,6 +47,12 @@ public class WorkBatchDetailVO {
...
@@ -47,6 +47,12 @@ public class WorkBatchDetailVO {
@ApiModelProperty
(
"工作批次id"
)
@ApiModelProperty
(
"工作批次id"
)
private
String
workBatchId
;
private
String
workBatchId
;
@ApiModelProperty
(
"检查批次id"
)
private
String
ekId
;
@ApiModelProperty
(
"检查批次code"
)
private
String
ekCode
;
@ApiModelProperty
(
"检查日期"
)
@ApiModelProperty
(
"检查日期"
)
private
Date
checkTime
;
private
Date
checkTime
;
...
...
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