Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
1268801e
Commit
1268801e
authored
May 28, 2024
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
parent
e5ec5d41
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
IdxBizFanHealthIndexMapper.xml
...n/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
+2
-2
EarningsForecastImpl.java
...t/module/jxiop/biz/service/impl/EarningsForecastImpl.java
+4
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
View file @
1268801e
...
...
@@ -306,7 +306,7 @@
<where>
ANALYSIS_OBJ_TYPE = '场站'
AND ANALYSIS_TYPE = '按天'
AND DATE_FORMAT( REC_DATE, "%Y-%m-%d" ) = CURRENT_DATE
AND DATE_FORMAT( REC_DATE, "%Y-%m-%d" ) = CURRENT_DATE
- INTERVAL 1 DAY
<if
test=
"areaCode != null and areaCode != ''"
>
AND ARAE like concat('%', #{areaCode}, '%')
</if>
...
...
@@ -446,7 +446,7 @@
</select>
<select
id=
"getSubSystemInfo"
resultType=
"java.util.Map"
>
SELECT
round(IFNULL( HEALTH_INDEX, 100 ), 1) AS healthIndex,
``
round(IFNULL( HEALTH_INDEX, 100 ), 1) AS healthIndex,
SUB_SYSTEM AS subSystem
FROM
fan_health_index_latest_data
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-bigscreen-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/EarningsForecastImpl.java
View file @
1268801e
...
...
@@ -169,14 +169,16 @@ public class EarningsForecastImpl {
List
<
List
<
String
>>
buildData
(
List
<
Map
<
String
,
String
>>
data
,
JSONObject
obj
,
List
<
List
<
String
>>
lists
){
List
<
List
<
String
>>
newList
=
new
ArrayList
<>();
newList
.
addAll
(
lists
);
JSONObject
dataObject
=
obj
.
getJSONObject
(
"data"
);
// 从data对象中提取forecast和history数组
JSONArray
forecastArray
=
dataObject
.
getJSONArray
(
"forecast"
);
for
(
int
i
=
0
;
i
<
forecastArray
.
size
();
i
++)
{
List
<
String
>
list
=
Arrays
.
asList
(
data
.
get
(
i
).
get
(
"MonthYear"
),
forecastArray
.
getString
(
i
));
lists
.
add
(
list
);
newList
.
add
(
list
);
}
return
lists
;
return
newList
;
}
...
...
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