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
f8215b2e
Commit
f8215b2e
authored
Sep 07, 2023
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改电量排名接口
parent
14663fb4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/MonitorFanIdxController.java
View file @
f8215b2e
...
@@ -898,7 +898,7 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -898,7 +898,7 @@ public class MonitorFanIdxController extends BaseController {
monthDataFJ
.
add
(
monthMap
);
monthDataFJ
.
add
(
monthMap
);
yearDataFJ
.
add
(
yearMap
);
yearDataFJ
.
add
(
yearMap
);
}
else
{
}
else
{
querySql
=
" and frontModule =
'逆变器'
"
;
querySql
=
" and frontModule =
~/逆变器/
"
;
Map
<
String
,
Object
>
map
=
monitorFanIndicator
.
generatingCapacity
(
gatewayId
,
querySql
);
Map
<
String
,
Object
>
map
=
monitorFanIndicator
.
generatingCapacity
(
gatewayId
,
querySql
);
Map
<
String
,
Object
>
dayMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
dayMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
monthMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
monthMap
=
new
HashMap
<>();
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
f8215b2e
...
@@ -1870,7 +1870,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1870,7 +1870,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
public
Map
<
String
,
Object
>
generatingCapacity
(
String
gatewayId
,
String
query
){
public
Map
<
String
,
Object
>
generatingCapacity
(
String
gatewayId
,
String
query
){
String
querySql
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName=
'日发电量' or equipmentIndexName='月发电量' or equipmentIndexName='年发电量'
"
;
String
querySql
=
" SELECT * FROM indicators_"
+
gatewayId
+
" WHERE equipmentIndexName=
~/发电量/
"
;
if
(
null
!=
query
){
if
(
null
!=
query
){
querySql
=
querySql
+
" "
+
query
;
querySql
=
querySql
+
" "
+
query
;
}
}
...
...
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