Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gf_back
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tianchao
gf_back
Commits
b8bb9b0d
Commit
b8bb9b0d
authored
Dec 23, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
ab9e0fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdPhotovoltaicPowerService.java
...ore/prediction/service/ThirdPhotovoltaicPowerService.java
+2
-2
No files found.
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdPhotovoltaicPowerService.java
View file @
b8bb9b0d
...
@@ -68,7 +68,7 @@ public class ThirdPhotovoltaicPowerService {
...
@@ -68,7 +68,7 @@ public class ThirdPhotovoltaicPowerService {
}
else
{
}
else
{
WellheadDailyProductionSituationMapper
wellheadMapper
=
context
.
getBean
(
WellheadDailyProductionSituationMapper
.
class
);
WellheadDailyProductionSituationMapper
wellheadMapper
=
context
.
getBean
(
WellheadDailyProductionSituationMapper
.
class
);
WellheadDailyProductionSituationEnt
wellheadSituationEnt
=
wellheadMapper
.
selectOne
(
new
QueryWrapper
<
WellheadDailyProductionSituationEnt
>()
WellheadDailyProductionSituationEnt
wellheadSituationEnt
=
wellheadMapper
.
selectOne
(
new
QueryWrapper
<
WellheadDailyProductionSituationEnt
>()
.
select
(
"IFNULL( SUM(
daily_electricity_consumption ), 0 ) AS daily_electricity_consumption
"
)
.
select
(
"IFNULL( SUM(
DAILY_ELECTRICITY_CONSUMPTION ), 0 ) AS DAILY_ELECTRICITY_CONSUMPTION
"
)
.
lambda
()
.
lambda
()
.
in
(
WellheadDailyProductionSituationEnt:
:
getWellheadId
,
wellheadList
.
stream
()
.
in
(
WellheadDailyProductionSituationEnt:
:
getWellheadId
,
wellheadList
.
stream
()
.
map
(
DynamicQueryBasePowerLineWellheadViewOutput:
:
getWellheadId
)
.
map
(
DynamicQueryBasePowerLineWellheadViewOutput:
:
getWellheadId
)
...
@@ -80,7 +80,7 @@ public class ThirdPhotovoltaicPowerService {
...
@@ -80,7 +80,7 @@ public class ThirdPhotovoltaicPowerService {
//查光伏发电
//查光伏发电
ThirdPhotovoltaicPowerMapper
powerMapper
=
context
.
getBean
(
ThirdPhotovoltaicPowerMapper
.
class
);
ThirdPhotovoltaicPowerMapper
powerMapper
=
context
.
getBean
(
ThirdPhotovoltaicPowerMapper
.
class
);
ThirdPhotovoltaicPowerEnt
photovoltaicPowerEnt
=
powerMapper
.
selectOne
(
new
QueryWrapper
<
ThirdPhotovoltaicPowerEnt
>()
ThirdPhotovoltaicPowerEnt
photovoltaicPowerEnt
=
powerMapper
.
selectOne
(
new
QueryWrapper
<
ThirdPhotovoltaicPowerEnt
>()
.
select
(
"IFNULL( SUM(
photovoltaic_power ), 0 ) AS photovoltaic_power
"
)
.
select
(
"IFNULL( SUM(
PHOTOVOLTAIC_POWER ), 0 ) AS PHOTOVOLTAIC_POWER
"
)
.
lambda
()
.
lambda
()
.
in
(
ThirdPhotovoltaicPowerEnt:
:
getStationName
,
lineNameList
)
.
in
(
ThirdPhotovoltaicPowerEnt:
:
getStationName
,
lineNameList
)
.
between
(
ThirdPhotovoltaicPowerEnt:
:
getCreateDate
,
input
.
getStartTime
(),
input
.
getEndTime
())
.
between
(
ThirdPhotovoltaicPowerEnt:
:
getCreateDate
,
input
.
getStartTime
(),
input
.
getEndTime
())
...
...
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