Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
f163b01a
Commit
f163b01a
authored
Aug 01, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
监盘首页接口调整更新
parent
c7a6f40d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
MonitoringMapController.java
.../module/jxiop/biz/controller/MonitoringMapController.java
+17
-3
MonitoringServiceImpl.java
.../module/jxiop/biz/service/impl/MonitoringServiceImpl.java
+0
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitoringMapController.java
View file @
f163b01a
...
...
@@ -106,9 +106,9 @@ public class MonitoringMapController extends BaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"监盘首页-发电量趋势"
)
@GetMapping
(
"/getPowerGenerationTrends"
)
public
ResponseModel
<
HashMap
<
String
,
List
<
String
>>>
getPowerGenerationTrends
(
@RequestParam
(
required
=
false
)
String
areaName
)
{
return
ResponseHelper
.
buildResponse
(
monitoringServiceImpl
.
getPowerGenerationTrends
(
areaName
));
@GetMapping
(
"/getPowerGenerationTrends
OfMonth
"
)
public
ResponseModel
<
HashMap
<
String
,
List
<
String
>>>
getPowerGenerationTrends
OfMonth
(
@RequestParam
(
required
=
false
)
String
areaName
)
{
return
ResponseHelper
.
buildResponse
(
monitoringServiceImpl
.
getPowerGenerationTrends
OfMonth
(
areaName
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"监盘首页-发电量详情"
)
...
...
@@ -116,4 +116,18 @@ public class MonitoringMapController extends BaseController {
public
ResponseModel
<
Page
<
HashMap
<
String
,
String
>>>
getDetailsOnPowergeneration
(
@RequestParam
(
required
=
false
)
String
areaName
)
{
return
ResponseHelper
.
buildResponse
(
monitoringServiceImpl
.
getDetailsOnPowergeneration
(
areaName
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"监盘首页-发电量趋势完成率"
)
@GetMapping
(
"/getPowerGenerationTrendsOfCompletionRate"
)
public
ResponseModel
<
HashMap
<
String
,
List
<
String
>>>
getPowerGenerationTrendsOfCompletionRate
(
@RequestParam
(
required
=
false
)
String
areaName
)
{
return
ResponseHelper
.
buildResponse
(
monitoringServiceImpl
.
getPowerGenerationTrendsOfCompletionRate
(
areaName
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@ApiOperation
(
value
=
"监盘首页-发电top5"
)
@GetMapping
(
"/getPowerGenerationTrendsOfCompletionTopFive"
)
public
ResponseModel
<
HashMap
<
String
,
List
<
String
>>>
getPowerGenerationTrendsOfCompletionTopFive
(
@RequestParam
(
required
=
false
)
String
areaName
)
{
return
ResponseHelper
.
buildResponse
(
monitoringServiceImpl
.
getPowerGenerationTrendsOfCompletionTopFive
(
areaName
));
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitoringServiceImpl.java
View file @
f163b01a
This diff is collapsed.
Click to expand it.
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