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
ffc8c8da
Commit
ffc8c8da
authored
Apr 08, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(零碳): 长庆
1.修复登录页面登录接口验证码输入后不需要验证直接能登录的问题; BREAKING CHANGE: 无 Closes 无 [skip ci]
parent
377a55d6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
0 deletions
+23
-0
C09-base/pps-cloud-base/src/main/java/pps/cloud/base/service/data/base_power_line_wellhead/DynamicQueryBasePowerLineWellheadInput.java
...line_wellhead/DynamicQueryBasePowerLineWellheadInput.java
+6
-0
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePowerLineCloudServiceImpl.java
.../pps/core/base/service/BasePowerLineCloudServiceImpl.java
+1
-0
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BasePowerLineWellheadViewMapper.xml
.../mapper/pps/core/base/BasePowerLineWellheadViewMapper.xml
+3
-0
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
.../java/pps/core/space/service/SpaceOptimizeApiService.java
+13
-0
No files found.
C09-base/pps-cloud-base/src/main/java/pps/cloud/base/service/data/base_power_line_wellhead/DynamicQueryBasePowerLineWellheadInput.java
View file @
ffc8c8da
...
@@ -31,4 +31,10 @@ public class DynamicQueryBasePowerLineWellheadInput {
...
@@ -31,4 +31,10 @@ public class DynamicQueryBasePowerLineWellheadInput {
@XText
(
"电站ID集合"
)
@XText
(
"电站ID集合"
)
private
List
<
String
>
plantIds
;
private
List
<
String
>
plantIds
;
/**
* 运行类型
*/
@XText
(
"运行类型key(字典获取)"
)
private
String
runTypeKey
;
}
}
C09-base/pps-core-base/src/main/java/pps/core/base/service/BasePowerLineCloudServiceImpl.java
View file @
ffc8c8da
...
@@ -129,6 +129,7 @@ public class BasePowerLineCloudServiceImpl implements IBasePowerLineCloudService
...
@@ -129,6 +129,7 @@ public class BasePowerLineCloudServiceImpl implements IBasePowerLineCloudService
BasePowerLineWellheadViewMapper
wellheadViewMapper
=
context
.
getBean
(
BasePowerLineWellheadViewMapper
.
class
);
BasePowerLineWellheadViewMapper
wellheadViewMapper
=
context
.
getBean
(
BasePowerLineWellheadViewMapper
.
class
);
List
<
BasePowerLineWellheadView
>
wellheadViews
=
wellheadViewMapper
.
selectWellheadListByParam
(
List
<
BasePowerLineWellheadView
>
wellheadViews
=
wellheadViewMapper
.
selectWellheadListByParam
(
BasePowerLineWellheadView
.
builder
()
BasePowerLineWellheadView
.
builder
()
.
runTypeKey
(
input
.
getRunTypeKey
())
.
lineId
(
input
.
getLineId
())
.
lineId
(
input
.
getLineId
())
.
lineIds
(
input
.
getLineIds
())
.
lineIds
(
input
.
getLineIds
())
.
wellheadIds
(
input
.
getWellheadIds
())
.
wellheadIds
(
input
.
getWellheadIds
())
...
...
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BasePowerLineWellheadViewMapper.xml
View file @
ffc8c8da
...
@@ -77,6 +77,9 @@
...
@@ -77,6 +77,9 @@
base_power_line_wellhead l
base_power_line_wellhead l
JOIN base_wellhead w ON l.wellhead_id = w.id
JOIN base_wellhead w ON l.wellhead_id = w.id
<where>
<where>
<if
test=
"runTypeKey!=null and runTypeKey!=''"
>
AND w.run_type_key = #{runTypeKey}
</if>
<if
test=
"lineId!=null and lineId!=''"
>
<if
test=
"lineId!=null and lineId!=''"
>
AND l.line_id = #{lineId}
AND l.line_id = #{lineId}
</if>
</if>
...
...
C11-space/pps-core-space/src/main/java/pps/core/space/service/SpaceOptimizeApiService.java
View file @
ffc8c8da
...
@@ -10,6 +10,8 @@ import pps.cloud.base.service.data.base_power_line.DynamicQueryBasePowerLineInpu
...
@@ -10,6 +10,8 @@ import pps.cloud.base.service.data.base_power_line.DynamicQueryBasePowerLineInpu
import
pps.cloud.base.service.data.base_power_line.DynamicQueryBasePowerLineOutput
;
import
pps.cloud.base.service.data.base_power_line.DynamicQueryBasePowerLineOutput
;
import
pps.cloud.base.service.data.base_power_line_plant.DynamicQueryBasePowerLinePlantInput
;
import
pps.cloud.base.service.data.base_power_line_plant.DynamicQueryBasePowerLinePlantInput
;
import
pps.cloud.base.service.data.base_power_line_plant.DynamicQueryBasePowerLinePlantViewOutput
;
import
pps.cloud.base.service.data.base_power_line_plant.DynamicQueryBasePowerLinePlantViewOutput
;
import
pps.cloud.base.service.data.base_power_line_wellhead.DynamicQueryBasePowerLineWellheadInput
;
import
pps.cloud.base.service.data.base_power_line_wellhead.DynamicQueryBasePowerLineWellheadViewOutput
;
import
pps.cloud.base.service.data.base_price_strategy_detail.GetBasePriceStrategyDetailInput
;
import
pps.cloud.base.service.data.base_price_strategy_detail.GetBasePriceStrategyDetailInput
;
import
pps.cloud.base.service.data.base_price_strategy_detail.GetBasePriceStrategyDetailOutput
;
import
pps.cloud.base.service.data.base_price_strategy_detail.GetBasePriceStrategyDetailOutput
;
import
pps.cloud.prediction.service.data.plant_predicted_power_data.DynamicQueryPlantPredictedPowerInput
;
import
pps.cloud.prediction.service.data.plant_predicted_power_data.DynamicQueryPlantPredictedPowerInput
;
...
@@ -62,6 +64,8 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
...
@@ -62,6 +64,8 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
XListResult
<
GetBasePriceStrategyDetailOutput
>
strategyResult
;
XListResult
<
GetBasePriceStrategyDetailOutput
>
strategyResult
;
List
<
GetBasePriceStrategyDetailOutput
>
strategyList
;
List
<
GetBasePriceStrategyDetailOutput
>
strategyList
;
List
<
DynamicQueryPlantPredictedPowerOutput
>
generationHourList
;
List
<
DynamicQueryPlantPredictedPowerOutput
>
generationHourList
;
List
<
DynamicQueryBasePowerLineWellheadViewOutput
>
wellheadList
;
XListResult
<
DynamicQueryBasePowerLineWellheadViewOutput
>
wellheadResult
;
List
<
DynamicQueryBasePowerLineOutput
>
lineList
=
lineOutputXListResult
.
getResult
();
List
<
DynamicQueryBasePowerLineOutput
>
lineList
=
lineOutputXListResult
.
getResult
();
for
(
DynamicQueryBasePowerLineOutput
line
:
lineList
)
{
for
(
DynamicQueryBasePowerLineOutput
line
:
lineList
)
{
//查线路下所有电站
//查线路下所有电站
...
@@ -82,6 +86,15 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
...
@@ -82,6 +86,15 @@ public class SpaceOptimizeApiService extends SpaceOptimizeBaseService {
if
(
CollUtil
.
isEmpty
(
strategyList
))
{
if
(
CollUtil
.
isEmpty
(
strategyList
))
{
continue
;
continue
;
}
}
//查线路关联井口(间抽井)
wellheadResult
=
lineCloudService
.
getPowerLineWellheadList
(
context
,
DynamicQueryBasePowerLineWellheadInput
.
builder
()
.
lineId
(
line
.
getId
())
.
runTypeKey
(
BusinessConstant
.
INTERVAL_PUMPING_WELL
)
.
build
());
wellheadList
=
wellheadResult
.
getResult
();
if
(
CollUtil
.
isEmpty
(
wellheadList
))
{
continue
;
}
//查当日预测发电时间段
//查当日预测发电时间段
generationHourList
=
this
.
getAveragePowerGenerationHourList
(
context
,
DynamicQueryPlantPredictedPowerInput
.
builder
()
generationHourList
=
this
.
getAveragePowerGenerationHourList
(
context
,
DynamicQueryPlantPredictedPowerInput
.
builder
()
.
plantIds
(
plantList
.
stream
()
.
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