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
37f89b3e
Commit
37f89b3e
authored
Apr 08, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(零碳): 长庆
1.修复登录页面登录接口验证码输入后不需要验证直接能登录的问题; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
7118c75a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
.../java/pps/core/space/service/SpaceOptimizeApiService.java
+19
-18
No files found.
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
View file @
37f89b3e
...
...
@@ -74,24 +74,6 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
List
<
DynamicQueryPlantPredictedPowerOutput
>
generationHourList
;
List
<
DynamicQueryBasePowerLineOutput
>
lineList
=
lineOutputXListResult
.
getResult
();
for
(
DynamicQueryBasePowerLineOutput
line
:
lineList
)
{
//查线路下所有电站
plantResult
=
lineCloudService
.
getPowerLinePlantViewList
(
context
,
DynamicQueryBasePowerLinePlantInput
.
builder
()
.
lineId
(
line
.
getId
())
.
build
());
plantList
=
plantResult
.
getResult
();
if
(
CollUtil
.
isEmpty
(
plantList
))
{
continue
;
}
//查线路关联市电峰谷
strategyResult
=
strategyCloudService
.
queryStrategyDetailList
(
context
,
GetBasePriceStrategyDetailInput
.
builder
()
.
lineId
(
line
.
getId
())
.
periodTypeKey
(
"LOW"
)
.
strategyMonth
(
"4"
)
.
build
());
strategyList
=
strategyResult
.
getResult
();
if
(
CollUtil
.
isEmpty
(
strategyList
))
{
continue
;
}
//查对应间开制度
detailEnt
=
detailMapper
.
selectOne
(
new
LambdaQueryWrapper
<
SpaceInstitutionDetailEnt
>()
.
eq
(
BaseModel:
:
getIsDeleted
,
BusinessConstant
.
ONE
)
...
...
@@ -112,6 +94,24 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
if
(
CollUtil
.
isEmpty
(
wellheadList
))
{
continue
;
}
//查线路下所有电站
plantResult
=
lineCloudService
.
getPowerLinePlantViewList
(
context
,
DynamicQueryBasePowerLinePlantInput
.
builder
()
.
lineId
(
line
.
getId
())
.
build
());
plantList
=
plantResult
.
getResult
();
if
(
CollUtil
.
isEmpty
(
plantList
))
{
continue
;
}
//查线路关联市电峰谷
strategyResult
=
strategyCloudService
.
queryStrategyDetailList
(
context
,
GetBasePriceStrategyDetailInput
.
builder
()
.
lineId
(
line
.
getId
())
.
periodTypeKey
(
"LOW"
)
.
strategyMonth
(
"4"
)
.
build
());
strategyList
=
strategyResult
.
getResult
();
if
(
CollUtil
.
isEmpty
(
strategyList
))
{
continue
;
}
//查间开优化时间段
List
<
SpaceOptimizeShortDurationEnt
>
shortDurationList
=
shortDurationMapper
.
selectList
(
new
LambdaQueryWrapper
<
SpaceOptimizeShortDurationEnt
>()
.
eq
(
BaseModel:
:
getIsDeleted
,
BusinessConstant
.
ONE
)
...
...
@@ -135,6 +135,7 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
.
endTime
(
DateUtil
.
offsetDay
(
of
,
1
).
toString
())
.
dateType
(
BusinessConstant
.
ONE
)
.
build
());
}
return
XServiceResult
.
OK
;
}
...
...
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