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
77d9d44d
Commit
77d9d44d
authored
Apr 08, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(零碳): 长庆
1.修复登录页面登录接口验证码输入后不需要验证直接能登录的问题; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
4ed3b96f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
18 deletions
+17
-18
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
.../java/pps/core/space/service/SpaceOptimizeApiService.java
+3
-4
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
...java/pps/core/space/service/SpaceOptimizeBaseService.java
+14
-14
No files found.
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
View file @
77d9d44d
...
@@ -127,16 +127,15 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
...
@@ -127,16 +127,15 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
continue
;
continue
;
}
}
//查当日预测发电时间段
//查当日预测发电时间段
generationHourList
=
this
.
getAveragePowerGeneration
HourList
(
context
,
DynamicQueryPlantPredictedPowerInput
.
builder
()
generationHourList
=
this
.
getAveragePowerGeneration
ListByPlantIds
(
context
,
DynamicQueryPlantPredictedPowerInput
.
builder
()
.
plantIds
(
plantList
.
stream
()
.
plantIds
(
plantList
.
stream
()
.
map
(
DynamicQueryBasePowerLinePlantViewOutput:
:
getPlantId
)
.
map
(
DynamicQueryBasePowerLinePlantViewOutput:
:
getPlantId
)
.
collect
(
Collectors
.
toList
())
.
collect
(
Collectors
.
toList
()))
)
.
startTime
(
of
.
toString
())
.
startTime
(
of
.
toString
())
.
endTime
(
DateUtil
.
offsetDay
(
of
,
1
).
toString
())
.
endTime
(
DateUtil
.
offsetDay
(
of
,
1
).
toString
())
.
dateType
(
BusinessConstant
.
ONE
)
.
dateType
(
BusinessConstant
.
ONE
)
.
build
());
.
build
());
System
.
out
.
println
();
}
}
return
XServiceResult
.
OK
;
return
XServiceResult
.
OK
;
}
}
...
...
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeBaseService.java
View file @
77d9d44d
...
@@ -801,6 +801,20 @@ public class SpaceOptimizeBaseService {
...
@@ -801,6 +801,20 @@ public class SpaceOptimizeBaseService {
durationDTOList
.
add
(
durationDTO
);
durationDTOList
.
add
(
durationDTO
);
}
}
/**
* 条件获取获取光伏预测各时段平均值列表
*
* @param context 上下文
* @param input 输入
* @return {@link List}<{@link DynamicQueryPlantPredictedPowerOutput}>
*/
public
List
<
DynamicQueryPlantPredictedPowerOutput
>
getAveragePowerGenerationListByPlantIds
(
XContext
context
,
DynamicQueryPlantPredictedPowerInput
input
)
{
IPlantPredictedPowerCloudService
cloudService
=
context
.
getBean
(
IPlantPredictedPowerCloudService
.
class
);
XListResult
<
DynamicQueryPlantPredictedPowerOutput
>
result
=
cloudService
.
queryAveragePowerGenerationListByParam
(
context
,
input
);
result
.
throwIfFail
();
return
result
.
getResult
();
}
/*-----------------------------------private-----------------------------------*/
/*-----------------------------------private-----------------------------------*/
/**
/**
...
@@ -1399,20 +1413,6 @@ public class SpaceOptimizeBaseService {
...
@@ -1399,20 +1413,6 @@ public class SpaceOptimizeBaseService {
);
);
}
}
/**
* 条件获取获取光伏预测各时段平均值列表
*
* @param context 上下文
* @param input 输入
* @return {@link List}<{@link DynamicQueryPlantPredictedPowerOutput}>
*/
private
List
<
DynamicQueryPlantPredictedPowerOutput
>
getAveragePowerGenerationListByPlantIds
(
XContext
context
,
DynamicQueryPlantPredictedPowerInput
input
)
{
IPlantPredictedPowerCloudService
cloudService
=
context
.
getBean
(
IPlantPredictedPowerCloudService
.
class
);
XListResult
<
DynamicQueryPlantPredictedPowerOutput
>
result
=
cloudService
.
queryAveragePowerGenerationListByParam
(
context
,
input
);
result
.
throwIfFail
();
return
result
.
getResult
();
}
/**
/**
* 按线路ID集合获取电站列表
* 按线路ID集合获取电站列表
*
*
...
...
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