Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张雷
/
skboot-zhongye
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
构建
提交
问题看板
文件
提交
网络
比较
分支
标签
82dbfeb4
由
康伟
编写于
2024-11-06 10:45:45 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
kangwei:指挥中心,参数startTime 改为startDate
1 个父辈
c68a4716
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
12 行删除
sk-module-biz/src/main/java/com/skua/modules/algorithm/controller/SysCommandCentreController.java
sk-module-biz/src/main/java/com/skua/modules/algorithm/controller/SysCommandCentreController.java
查看文件 @
82dbfeb
...
...
@@ -90,11 +90,11 @@ public class SysCommandCentreController {
@ApiOperation
(
value
=
"指挥中心-运行负荷率分析"
,
notes
=
"指挥中心-运行负荷率分析"
)
//指挥中心-运行负荷率分析
@GetMapping
(
value
=
"/statisticsByLoadRate"
)
public
Result
<
DepartLoadRateResultVO
>
statisticsByLoadRate
(
String
start
Tim
e
,
String
endTime
,
Integer
loadRateType
)
throws
Exception
{
public
Result
<
DepartLoadRateResultVO
>
statisticsByLoadRate
(
String
start
Dat
e
,
String
endTime
,
Integer
loadRateType
)
throws
Exception
{
Result
<
DepartLoadRateResultVO
>
result
=
new
Result
<>();
String
departIds
=
BaseContextHandler
.
getDeparts
();
//1818214519948836864,1711662624459804674
if
(
loadRateType
==
null
)
loadRateType
=
1
;
DepartLoadRateResultVO
departLoadRateResultVO
=
reportItemvService
.
statisticsByLoadRate
(
departIds
,
start
Tim
e
,
endTime
,
loadRateType
);
DepartLoadRateResultVO
departLoadRateResultVO
=
reportItemvService
.
statisticsByLoadRate
(
departIds
,
start
Dat
e
,
endTime
,
loadRateType
);
result
.
setSuccess
(
true
);
result
.
setResult
(
departLoadRateResultVO
);
return
result
;
...
...
@@ -105,10 +105,10 @@ public class SysCommandCentreController {
@ApiOperation
(
value
=
"指挥中心-运行负荷率分析---列表详情"
,
notes
=
"指挥中心-运行负荷率分析----列表详情"
)
//指挥中心-运行负荷率分析
@GetMapping
(
value
=
"/statisticsByLoadRateList"
)
public
Result
<
List
<
DepartLoadRateVO
>
>
statisticsByLoadRateList
(
String
start
Time
,
String
endTim
e
)
throws
Exception
{
public
Result
<
List
<
DepartLoadRateVO
>
>
statisticsByLoadRateList
(
String
start
Date
,
String
endDat
e
)
throws
Exception
{
Result
<
List
<
DepartLoadRateVO
>
>
result
=
new
Result
<>();
String
departIds
=
BaseContextHandler
.
getDeparts
();
//1818214519948836864,1711662624459804674
List
<
DepartLoadRateVO
>
departLoadRateResultVO
=
reportItemvService
.
statisticsByLoadRateList
(
departIds
,
start
Time
,
endTim
e
,
null
);
List
<
DepartLoadRateVO
>
departLoadRateResultVO
=
reportItemvService
.
statisticsByLoadRateList
(
departIds
,
start
Date
,
endDat
e
,
null
);
result
.
setSuccess
(
true
);
result
.
setResult
(
departLoadRateResultVO
);
return
result
;
...
...
@@ -119,10 +119,10 @@ public class SysCommandCentreController {
@AutoLog
(
value
=
"指挥中心-泥量统计"
)
@ApiOperation
(
value
=
"指挥中心-泥量统计"
,
notes
=
"指挥中心-泥量统计"
)
@GetMapping
(
value
=
"/statisticsByCement"
)
public
Result
<
List
<
FRportlCommandCenterVO
>>
statisticsByCement
(
String
start
Time
,
String
endTim
e
)
throws
Exception
{
public
Result
<
List
<
FRportlCommandCenterVO
>>
statisticsByCement
(
String
start
Date
,
String
endDat
e
)
throws
Exception
{
Result
<
List
<
FRportlCommandCenterVO
>>
result
=
new
Result
();
String
departIds
=
BaseContextHandler
.
getDeparts
();
//1818214519948836864,1711662624459804674
List
<
FRportlCommandCenterVO
>
dataList
=
reportItemvService
.
statisticsByCement
(
departIds
,
start
Time
,
endTim
e
);
List
<
FRportlCommandCenterVO
>
dataList
=
reportItemvService
.
statisticsByCement
(
departIds
,
start
Date
,
endDat
e
);
result
.
setResult
(
dataList
);
return
result
;
}
...
...
@@ -130,10 +130,10 @@ public class SysCommandCentreController {
@ApiOperation
(
value
=
"指挥中心-泥量统计--详情列表"
,
notes
=
"指挥中心-泥量统计--详情列表"
)
//指挥中心-泥量统计--详情列表
@GetMapping
(
value
=
"/statisticsByCementList"
)
public
Result
<
List
<
ReportItemVO
>>
statisticsByCementList
(
String
start
Time
,
String
endTim
e
)
throws
Exception
{
public
Result
<
List
<
ReportItemVO
>>
statisticsByCementList
(
String
start
Date
,
String
endDat
e
)
throws
Exception
{
Result
<
List
<
ReportItemVO
>>
result
=
new
Result
();
String
departIds
=
BaseContextHandler
.
getDeparts
();
//1818214519948836864,1711662624459804674
List
<
ReportItemVO
>
dataList
=
reportItemvService
.
statisticsByCementList
(
departIds
,
start
Time
,
endTim
e
);
List
<
ReportItemVO
>
dataList
=
reportItemvService
.
statisticsByCementList
(
departIds
,
start
Date
,
endDat
e
);
result
.
setResult
(
dataList
);
return
result
;
}
...
...
@@ -143,20 +143,20 @@ public class SysCommandCentreController {
@AutoLog
(
value
=
"指挥中心-能耗分析"
)
@ApiOperation
(
value
=
"指挥中心-能耗分析"
,
notes
=
"指挥中心-能耗分析"
)
@GetMapping
(
value
=
"/statisticsByElectricity"
)
public
Result
<
List
<
FRportlCommandCenterVO
>>
statisticsByElectricity
(
String
start
Time
,
String
endTim
e
)
throws
Exception
{
public
Result
<
List
<
FRportlCommandCenterVO
>>
statisticsByElectricity
(
String
start
Date
,
String
endDat
e
)
throws
Exception
{
Result
<
List
<
FRportlCommandCenterVO
>>
result
=
new
Result
();
String
departId
=
"1818214519948836864,1711662624459804674"
;
List
<
FRportlCommandCenterVO
>
dataList
=
reportItemvService
.
statisticsByElectricity
(
departId
,
start
Time
,
endTim
e
);
List
<
FRportlCommandCenterVO
>
dataList
=
reportItemvService
.
statisticsByElectricity
(
departId
,
start
Date
,
endDat
e
);
result
.
setResult
(
dataList
);
return
result
;
}
@AutoLog
(
value
=
"指挥中心-能耗分析"
)
@ApiOperation
(
value
=
"指挥中心-能耗分析--详情列表"
,
notes
=
"指挥中心-能耗分析--详情列表"
)
@GetMapping
(
value
=
"/statisticsByElectricityList"
)
public
Result
<
List
<
ReportItemVO
>>
statisticsByElectricityList
(
String
start
Time
,
String
endTim
e
)
throws
Exception
{
public
Result
<
List
<
ReportItemVO
>>
statisticsByElectricityList
(
String
start
Date
,
String
endDat
e
)
throws
Exception
{
Result
<
List
<
ReportItemVO
>>
result
=
new
Result
();
String
departIds
=
BaseContextHandler
.
getDeparts
();
//1818214519948836864,1711662624459804674
List
<
ReportItemVO
>
dataList
=
reportItemvService
.
statisticsByElectricityList
(
departIds
,
start
Time
,
endTim
e
);
List
<
ReportItemVO
>
dataList
=
reportItemvService
.
statisticsByElectricityList
(
departIds
,
start
Date
,
endDat
e
);
result
.
setResult
(
dataList
);
return
result
;
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论