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
0cf69f2b
Commit
0cf69f2b
authored
Apr 08, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(零碳): 长庆
1.修复登录页面登录接口验证码输入后不需要验证直接能登录的问题; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
ffc8c8da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
.../java/pps/core/space/service/SpaceOptimizeApiService.java
+15
-1
No files found.
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
View file @
0cf69f2b
...
...
@@ -63,9 +63,10 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
List
<
DynamicQueryBasePowerLinePlantViewOutput
>
plantList
;
XListResult
<
GetBasePriceStrategyDetailOutput
>
strategyResult
;
List
<
GetBasePriceStrategyDetailOutput
>
strategyList
;
List
<
DynamicQueryPlantPredictedPowerOutput
>
generationHourList
;
List
<
DynamicQueryBasePowerLineWellheadViewOutput
>
wellheadList
;
XListResult
<
DynamicQueryBasePowerLineWellheadViewOutput
>
wellheadResult
;
SpaceOptimizeShortDurationMapper
shortDurationMapper
=
context
.
getBean
(
SpaceOptimizeShortDurationMapper
.
class
);
List
<
DynamicQueryPlantPredictedPowerOutput
>
generationHourList
;
List
<
DynamicQueryBasePowerLineOutput
>
lineList
=
lineOutputXListResult
.
getResult
();
for
(
DynamicQueryBasePowerLineOutput
line
:
lineList
)
{
//查线路下所有电站
...
...
@@ -95,6 +96,19 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
if
(
CollUtil
.
isEmpty
(
wellheadList
))
{
continue
;
}
//查间开优化时间段
List
<
SpaceOptimizeShortDurationEnt
>
shortDurationList
=
shortDurationMapper
.
selectList
(
new
LambdaQueryWrapper
<
SpaceOptimizeShortDurationEnt
>()
.
eq
(
BaseModel:
:
getIsDeleted
,
BusinessConstant
.
ONE
)
.
eq
(
SpaceOptimizeShortDurationEnt:
:
getOptimizeDate
,
of
)
.
in
(
SpaceOptimizeShortDurationEnt:
:
getWellheadId
,
wellheadList
.
stream
()
.
map
(
DynamicQueryBasePowerLineWellheadViewOutput:
:
getWellheadId
)
.
collect
(
Collectors
.
toList
())
)
.
orderByAsc
(
SpaceOptimizeShortDurationEnt:
:
getOpenWellTime
)
);
if
(
CollUtil
.
isEmpty
(
shortDurationList
))
{
continue
;
}
//查当日预测发电时间段
generationHourList
=
this
.
getAveragePowerGenerationHourList
(
context
,
DynamicQueryPlantPredictedPowerInput
.
builder
()
.
plantIds
(
plantList
.
stream
()
...
...
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