Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
c33084dc
由
sonin
编写于
2025-03-27 10:09:30 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
巡检分析 巡检设备指标 详情
1 个父辈
9bccf323
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
7 行增加
和
5 行删除
sk-module-inspection/src/main/java/com/skua/modules/inspection/controller/web/InspectionAnalysisController.java
sk-module-inspection/src/main/java/com/skua/modules/inspection/service/IInspectionAnalysisService.java
sk-module-inspection/src/main/java/com/skua/modules/inspection/service/impl/InspectionAnalysisServiceImpl.java
sk-module-inspection/src/main/java/com/skua/modules/inspection/vo/InspectionEquipIndicatorsVO.java
sk-module-inspection/src/main/java/com/skua/modules/inspection/controller/web/InspectionAnalysisController.java
查看文件 @
c33084d
...
...
@@ -221,19 +221,19 @@ public class InspectionAnalysisController {
@GetMapping
(
"/getInspectionEquipIndicators"
)
public
Result
<
InspectionEquipIndicatorsVO
>
getInspectionEquipIndicators
(
String
startDate
,
String
endDate
){
Result
<
InspectionEquipIndicatorsVO
>
result
=
new
Result
<>();
InspectionEquipIndicatorsVO
inspectionEquipIndicatorsVO
=
inspectionAnalysisService
.
getInspectionEquipIndicators
New
(
startDate
,
endDate
);
InspectionEquipIndicatorsVO
inspectionEquipIndicatorsVO
=
inspectionAnalysisService
.
getInspectionEquipIndicators
(
startDate
,
endDate
);
result
.
setSuccess
(
true
);
result
.
setResult
(
inspectionEquipIndicatorsVO
);
return
result
;
}
@ApiOperation
(
value
=
"巡检分析-巡检设备指标-详情"
,
notes
=
"巡检分析-巡检设备指标-详情"
)
@GetMapping
(
"/getInspectionEquipIndicatorsDetail"
)
public
Result
<
List
<
InspectionEquipIndicators
Detail
VO
>>
getInspectionEquipIndicators
(
String
departId
,
String
startDate
,
String
endDate
){
Result
<
List
<
InspectionEquipIndicators
Detail
VO
>>
result
=
new
Result
<>();
public
Result
<
List
<
InspectionEquipIndicatorsVO
>>
getInspectionEquipIndicators
(
String
departId
,
String
startDate
,
String
endDate
){
Result
<
List
<
InspectionEquipIndicatorsVO
>>
result
=
new
Result
<>();
if
(
StringUtils
.
isEmpty
(
departId
)){
departId
=
BaseContextHandler
.
getDeparts
();
}
List
<
InspectionEquipIndicators
Detail
VO
>
dataList
=
inspectionAnalysisService
.
getInspectionEquipIndicatorsDetail
(
JSUtils
.
quoteEach
(
departId
,
","
),
startDate
,
endDate
);
List
<
InspectionEquipIndicatorsVO
>
dataList
=
inspectionAnalysisService
.
getInspectionEquipIndicatorsDetail
(
JSUtils
.
quoteEach
(
departId
,
","
),
startDate
,
endDate
);
result
.
setSuccess
(
true
);
result
.
setResult
(
dataList
);
return
result
;
...
...
sk-module-inspection/src/main/java/com/skua/modules/inspection/service/IInspectionAnalysisService.java
查看文件 @
c33084d
...
...
@@ -43,7 +43,7 @@ public interface IInspectionAnalysisService {
* @param endDate
* @return
*/
List
<
InspectionEquipIndicators
Detail
VO
>
getInspectionEquipIndicatorsDetail
(
String
departIds
,
String
startDate
,
String
endDate
);
List
<
InspectionEquipIndicatorsVO
>
getInspectionEquipIndicatorsDetail
(
String
departIds
,
String
startDate
,
String
endDate
);
/***
* 巡检分析-巡检任务概况
...
...
sk-module-inspection/src/main/java/com/skua/modules/inspection/service/impl/InspectionAnalysisServiceImpl.java
查看文件 @
c33084d
此文件的差异被折叠,
点击展开。
sk-module-inspection/src/main/java/com/skua/modules/inspection/vo/InspectionEquipIndicatorsVO.java
查看文件 @
c33084d
...
...
@@ -28,4 +28,6 @@ public class InspectionEquipIndicatorsVO {
@ApiModelProperty
(
value
=
"异常项处理率"
)
private
String
processedAbnormalRate
;
private
String
departName
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论