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
eb673a44
Commit
eb673a44
authored
Jul 29, 2024
by
史志龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修改--shizhilong
parent
41ea2c3b
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
86 additions
and
37 deletions
+86
-37
pom.xml
jeecg-module-system/pom.xml
+4
-4
AnalysisAlgorithmLine.java
...ules/diseaseAnalysis/algorithm/AnalysisAlgorithmLine.java
+23
-28
AnalysisLineBatchController.java
...seaseAnalysis/controller/AnalysisLineBatchController.java
+14
-4
AnalysisLineBatchInfoDTO.java
...modules/diseaseAnalysis/dto/AnalysisLineBatchInfoDTO.java
+3
-0
AnalysisLineBatchUnitDeviceDTO.java
...s/diseaseAnalysis/dto/AnalysisLineBatchUnitDeviceDTO.java
+3
-0
AnalysisLineBatchUnitDevice.java
...s/diseaseAnalysis/entity/AnalysisLineBatchUnitDevice.java
+8
-0
AnalysisLineBatchMapper.xml
...es/diseaseAnalysis/mapper/xml/AnalysisLineBatchMapper.xml
+4
-1
IAnalysisLineBatchService.java
...es/diseaseAnalysis/service/IAnalysisLineBatchService.java
+7
-0
AnalysisLineBatchServiceImpl.java
...seAnalysis/service/impl/AnalysisLineBatchServiceImpl.java
+13
-0
AnalysisLineBatchUnitDeviceVO.java
...les/diseaseAnalysis/vo/AnalysisLineBatchUnitDeviceVO.java
+7
-0
No files found.
jeecg-module-system/pom.xml
View file @
eb673a44
...
...
@@ -65,6 +65,10 @@
<properties>
<package.environment>
dev
</package.environment>
</properties>
<!-- 是否默认 true表示默认-->
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
<!-- 测试环境 -->
...
...
@@ -73,10 +77,6 @@
<properties>
<package.environment>
test
</package.environment>
</properties>
<!-- 是否默认 true表示默认-->
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
<!-- 生成环境环境-->
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/algorithm/AnalysisAlgorithmLine.java
View file @
eb673a44
This diff is collapsed.
Click to expand it.
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/controller/AnalysisLineBatchController.java
View file @
eb673a44
...
...
@@ -14,8 +14,6 @@ import org.jeecg.modules.diseaseAnalysis.dto.AnalysisLineBatchInfoDTO;
import
org.jeecg.modules.diseaseAnalysis.dto.AnalysisLineBatchSaveOrUpdateDTO
;
import
org.jeecg.modules.diseaseAnalysis.dto.EkRecordsMasterCheckDTO
;
import
org.jeecg.modules.diseaseAnalysis.entity.AnalysisLineBatch
;
import
org.jeecg.modules.diseaseAnalysis.entity.AnalysisLineBatchUnitDeviceCorrugationInfo
;
import
org.jeecg.modules.diseaseAnalysis.entity.AnalysisLineBatchUnitDeviceCurveWearInfo
;
import
org.jeecg.modules.diseaseAnalysis.service.IAnalysisLineBatchService
;
import
org.jeecg.modules.diseaseAnalysis.vo.*
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -157,6 +155,7 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
List
<
AnalysisLineBatchUnitDeviceTurnoutInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitEkInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
return
Result
.
OK
(
list
);
}
/**
* 线路质量分析-其他病害分析-钢轨探伤单元详情检查记录查询
*
...
...
@@ -172,6 +171,7 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
List
<
AnalysisLineBatchUnitDeviceRailWearInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitDeviceRailWearInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
return
Result
.
OK
(
list
);
}
/**
* 线路质量分析-其他病害分析-钢轨波磨单元详情检查记录查询
*
...
...
@@ -187,6 +187,7 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
List
<
AnalysisLineBatchUnitDeviceCorrugationInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitDeviceCorrugationInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
return
Result
.
OK
(
list
);
}
/**
* 线路质量分析-其他病害分析-曲线波磨单元详情检查记录查询
*
...
...
@@ -202,6 +203,7 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
List
<
AnalysisLineBatchUnitDeviceCurveWearInfoVO
>
list
=
this
.
service
.
getAnalysisLineBatchUnitDeviceCurveWearInfoList
(
analysisBatchId
,
ekId
,
deviceId
);
return
Result
.
OK
(
list
);
}
//***********************************分析新增编辑接口*************************************************************************************************************
@AutoLog
(
value
=
"其他病害分析-分析批次-新增分析批次"
)
@ApiOperation
(
value
=
"其他病害分析-分析批次-新增分析批次"
,
notes
=
"其他病害分析-分析批次-新增分析批次"
)
...
...
@@ -255,15 +257,23 @@ public class AnalysisLineBatchController extends JeecgController<AnalysisLineBat
@AutoLog
(
value
=
"其他病害分析-分析批次-删除"
)
@ApiOperation
(
value
=
"其他病害分析-分析批次-删除"
,
notes
=
"其他病害分析-分析批次-删除"
)
@GetMapping
(
value
=
"/deleteBatchRecord"
)
public
Result
<
String
>
deleteBatchRecord
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
,
@RequestParam
(
name
=
"type"
,
required
=
true
)
Integer
type
)
{
public
Result
<
String
>
deleteBatchRecord
(
@RequestParam
(
name
=
"ids"
,
required
=
true
)
String
ids
,
@RequestParam
(
name
=
"type"
,
required
=
true
)
Integer
type
)
{
List
<
String
>
idList
=
new
ArrayList
<>();
if
(
ids
.
contains
(
","
))
{
idList
=
Arrays
.
asList
(
ids
.
split
(
","
));
}
else
{
idList
.
add
(
ids
);
}
this
.
service
.
deleteBatchRecord
(
idList
,
type
);
this
.
service
.
deleteBatchRecord
(
idList
,
type
);
return
Result
.
OK
(
"批量删除成功!"
);
}
@AutoLog
(
value
=
"其他病害分析-分析批次-更新分析单元标记状态"
)
@ApiOperation
(
value
=
"其他病害分析-分析批次-更新分析单元标记状态"
,
notes
=
"其他病害分析-分析批次-更新分析单元标记状态"
)
@GetMapping
(
value
=
"/updateRecordMarkStatus"
)
public
Result
<
String
>
updateRecordMarkStatus
(
@RequestParam
(
"id"
)
String
id
,
@RequestParam
(
"status"
)
Integer
status
)
{
this
.
service
.
updateRecordMarkStatus
(
id
,
status
);
return
Result
.
OK
(
"操作成功"
);
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/dto/AnalysisLineBatchInfoDTO.java
View file @
eb673a44
...
...
@@ -32,4 +32,7 @@ public class AnalysisLineBatchInfoDTO {
@ApiModelProperty
(
"派工状态(1:未派工,2:已派工)"
)
private
Integer
workStatus
;
@ApiModelProperty
(
"标记状态(1:未标记,2:异常,3:正常)"
)
private
Integer
markStatus
;
}
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/dto/AnalysisLineBatchUnitDeviceDTO.java
View file @
eb673a44
...
...
@@ -82,6 +82,9 @@ public class AnalysisLineBatchUnitDeviceDTO {
@ApiModelProperty
(
"派工状态(1:未派工,2:已派工)"
)
private
Integer
workStatus
;
@ApiModelProperty
(
"标记状态(1:未标记,1:异常,2:正常)"
)
private
Integer
markStatus
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/entity/AnalysisLineBatchUnitDevice.java
View file @
eb673a44
...
...
@@ -100,6 +100,14 @@ public class AnalysisLineBatchUnitDevice implements Serializable {
@TableField
(
"work_status"
)
private
Integer
workStatus
;
@ApiModelProperty
(
"标记状态(1:未标记,1:异常,2:正常)"
)
@TableField
(
"mark_status"
)
private
Integer
markStatus
;
@ApiModelProperty
(
"检查结果:1:正常,2:异常(线路巡查时才有值)"
)
@TableField
(
"check_status"
)
private
Integer
checkStatus
;
@ApiModelProperty
(
"备注"
)
@TableField
(
"remark"
)
private
String
remark
;
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/mapper/xml/AnalysisLineBatchMapper.xml
View file @
eb673a44
...
...
@@ -112,7 +112,10 @@
<if
test=
"dto.workStatus != null"
>
AND t1.work_status = #{dto.workStatus}
</if>
ORDER BY t1.unit_center_mileage ASC
<if
test=
"dto.markStatus != null"
>
AND t1.mark_status = #{dto.markStatus}
</if>
ORDER BY t1.unit_start_mileage ASC
</select>
<select
id=
"getAnalysisLineBatchUnitEkInfoList"
resultType=
"org.jeecg.modules.diseaseAnalysis.vo.AnalysisLineBatchUnitDeviceTurnoutInfoVO"
>
...
...
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/service/IAnalysisLineBatchService.java
View file @
eb673a44
...
...
@@ -122,4 +122,11 @@ public interface IAnalysisLineBatchService extends IService<AnalysisLineBatch> {
* @param idList
*/
void
deleteBatchRecord
(
List
<
String
>
idList
,
Integer
type
);
/**
* 其他病害分析-分析批次-更新分析单元标记状态
* @param id
* @param status
*/
void
updateRecordMarkStatus
(
String
id
,
Integer
status
);
}
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/service/impl/AnalysisLineBatchServiceImpl.java
View file @
eb673a44
...
...
@@ -298,4 +298,17 @@ public class AnalysisLineBatchServiceImpl extends ServiceImpl<AnalysisLineBatchM
//4.删除分析主表
this
.
baseMapper
.
deleteBatchIds
(
idList
);
}
/**
* 其他病害分析-分析批次-更新分析单元标记状态
* @param id
* @param status
*/
@Override
@Transactional
public
void
updateRecordMarkStatus
(
String
id
,
Integer
status
)
{
AnalysisLineBatchUnitDevice
analysisLineBatchUnitDevice
=
new
AnalysisLineBatchUnitDevice
();
analysisLineBatchUnitDevice
.
setId
(
id
);
analysisLineBatchUnitDevice
.
setMarkStatus
(
status
);
analysisLineBatchUnitDeviceMapper
.
updateById
(
analysisLineBatchUnitDevice
);
}
}
jeecg-module-system/src/main/java/org/jeecg/modules/diseaseAnalysis/vo/AnalysisLineBatchUnitDeviceVO.java
View file @
eb673a44
...
...
@@ -4,6 +4,7 @@ package org.jeecg.modules.diseaseAnalysis.vo;
import
java.math.BigDecimal
;
import
java.util.Date
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Getter
;
...
...
@@ -80,6 +81,12 @@ public class AnalysisLineBatchUnitDeviceVO {
@ApiModelProperty
(
"派工状态(1:未派工,2:已派工)"
)
private
Integer
workStatus
;
@ApiModelProperty
(
"标记状态(1:未标记,2:异常,3:正常)"
)
private
Integer
markStatus
;
@ApiModelProperty
(
"检查结果:1:正常,2:异常(线路巡查时才有值)"
)
private
Integer
checkStatus
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
...
...
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