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
96e1312e
Commit
96e1312e
authored
Jul 30, 2024
by
lilongyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://36.40.66.175:5000/moa/jxdj_zx/amos-boot-zx-biz
into developer
parents
b5cf15a9
49154d99
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
StationBasicMapper.xml
...xiop-api/src/main/resources/mapper/StationBasicMapper.xml
+1
-1
MonitorFanIdxController.java
.../module/jxiop/biz/controller/MonitorFanIdxController.java
+3
-2
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+4
-0
SjglZsjZsbtzMapper.xml
.../src/main/resources/mapper/cluster/SjglZsjZsbtzMapper.xml
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/resources/mapper/StationBasicMapper.xml
View file @
96e1312e
...
@@ -211,6 +211,6 @@
...
@@ -211,6 +211,6 @@
area_code = #{areaCode}
area_code = #{areaCode}
and
and
is_delete = 0
is_delete = 0
ORDER BY sequence_nbr ASC
</select>
</select>
</mapper>
</mapper>
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 @
96e1312e
...
@@ -845,11 +845,12 @@ public class MonitorFanIdxController extends BaseController {
...
@@ -845,11 +845,12 @@ public class MonitorFanIdxController extends BaseController {
SimpleDateFormat
myFmt2
=
new
SimpleDateFormat
(
"yyyy"
);
SimpleDateFormat
myFmt2
=
new
SimpleDateFormat
(
"yyyy"
);
String
monthy
=
myFmt2
.
format
(
new
Date
());
String
monthy
=
myFmt2
.
format
(
new
Date
());
QueryWrapper
<
StationPlan
>
wrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
StationPlan
>
wrapper
=
new
QueryWrapper
<>();
wrapper
.
select
(
" monthly ,sum(value) value "
);
wrapper
.
select
(
" monthly ,sum(value)
as data_
value "
);
wrapper
.
eq
(
"year"
,
monthy
);
wrapper
.
eq
(
"year"
,
monthy
);
wrapper
.
eq
(
"station_basic_id"
,
stationBasic
.
getSequenceNbr
());
wrapper
.
eq
(
"station_basic_id"
,
stationBasic
.
getSequenceNbr
());
wrapper
.
groupBy
(
"monthly"
);
List
<
Map
<
String
,
Object
>>
list1
=
StationPlanMapper
.
selectMaps
(
wrapper
);
List
<
Map
<
String
,
Object
>>
list1
=
StationPlanMapper
.
selectMaps
(
wrapper
);
Double
sumValue
=
list1
!=
null
&&
!
list1
.
isEmpty
()
?
(
Double
)
list1
.
get
(
0
).
get
(
"value"
)
:
0
;
Double
sumValue
=
list1
!=
null
&&
!
list1
.
isEmpty
()
?
(
Double
)
list1
.
get
(
0
).
get
(
"
data_
value"
)
:
0
;
columnMap
.
put
(
"年发电量完成率(%)"
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
columnMap
.
get
(
"年发电量"
).
toString
())
/
sumValue
*
100
));
columnMap
.
put
(
"年发电量完成率(%)"
,
String
.
format
(
"%.2f"
,
Double
.
parseDouble
(
columnMap
.
get
(
"年发电量"
).
toString
())
/
sumValue
*
100
));
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
96e1312e
...
@@ -1208,6 +1208,10 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
...
@@ -1208,6 +1208,10 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
}
}
public
void
getListByFJ
(
String
gatewayId
,
String
werks
,
String
stationId
)
{
public
void
getListByFJ
(
String
gatewayId
,
String
werks
,
String
stationId
)
{
if
(
werks
==
null
||
StringUtils
.
isEmpty
(
werks
))
{
return
;
}
HashMap
<
String
,
String
>
fanstatutsHashMap
=
new
HashMap
<>();
HashMap
<
String
,
String
>
fanstatutsHashMap
=
new
HashMap
<>();
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
StationBasic
stationBasic
=
stationBasicMapper
.
selectById
(
stationId
);
Map
<
String
,
List
<
String
>>
queryCondtion
=
new
HashMap
<>();
Map
<
String
,
List
<
String
>>
queryCondtion
=
new
HashMap
<>();
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/resources/mapper/cluster/SjglZsjZsbtzMapper.xml
View file @
96e1312e
...
@@ -61,7 +61,7 @@
...
@@ -61,7 +61,7 @@
B.FSB
B.FSB
</select>
</select>
<select
id=
"getStationInfoMapByStationGFWerksNew"
resultType=
"
com.yeejoin.amos.boot.module.jxiop.biz.entity.SjglZsjZsbtz
"
>
<select
id=
"getStationInfoMapByStationGFWerksNew"
resultType=
"
map
"
>
SELECT
SELECT
REPLACE(sjgl_zsj_zsbtz.SBMC, '光伏阵区系统', '') as equipNum,
REPLACE(sjgl_zsj_zsbtz.SBMC, '光伏阵区系统', '') as equipNum,
...
...
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