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
3db9346c
Commit
3db9346c
authored
Nov 21, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
6708b15a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdActivePowerEnt.java
.../java/pps/core/prediction/entity/ThirdActivePowerEnt.java
+2
-2
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdActivePowerView.java
...java/pps/core/prediction/entity/ThirdActivePowerView.java
+1
-1
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdDataAccessCloudServiceImpl.java
...e/prediction/service/ThirdDataAccessCloudServiceImpl.java
+4
-1
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdActivePowerViewMapper.xml
...mapper/pps/core/prediction/ThirdActivePowerViewMapper.xml
+2
-1
No files found.
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdActivePowerEnt.java
View file @
3db9346c
...
...
@@ -21,8 +21,8 @@ import java.util.Date;
@TableName
(
"THIRD_ACTIVE_POWER"
)
public
class
ThirdActivePowerEnt
implements
Serializable
{
@XText
(
"ID"
)
@TableId
(
type
=
IdType
.
A
UTO
)
private
Lo
ng
id
;
@TableId
(
type
=
IdType
.
A
SSIGN_UUID
)
private
Stri
ng
id
;
@XText
(
"井组名称(线路/光伏电站)"
)
@TableField
...
...
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/entity/ThirdActivePowerView.java
View file @
3db9346c
...
...
@@ -25,7 +25,7 @@ import java.util.List;
public
class
ThirdActivePowerView
implements
Serializable
{
@XText
(
"ID"
)
@TableField
private
Lo
ng
id
;
private
Stri
ng
id
;
@XText
(
"井组名称(线路/光伏电站)"
)
@TableField
...
...
C12-prediction/pps-core-prediction/src/main/java/pps/core/prediction/service/ThirdDataAccessCloudServiceImpl.java
View file @
3db9346c
...
...
@@ -83,6 +83,7 @@ public class ThirdDataAccessCloudServiceImpl implements IThirdDataAccessCloudSer
.
abs
();
dtoList
.
add
(
ThirdActivePowerView
.
builder
()
.
id
(
BaseUtils
.
randomUUIDString
())
.
stationName
(
o
.
getStationName
())
.
stationId
(
collect
.
get
(
o
.
getStationName
()))
.
createDate
(
o
.
getCreateDate
())
...
...
@@ -204,6 +205,7 @@ public class ThirdDataAccessCloudServiceImpl implements IThirdDataAccessCloudSer
.
abs
();
dtoList
.
add
(
ThirdActivePowerView
.
builder
()
.
id
(
BaseUtils
.
randomUUIDString
())
.
stationName
(
o
.
getStationName
())
.
stationId
(
collect
.
get
(
o
.
getStationName
()))
.
createDate
(
o
.
getCreateDate
())
...
...
@@ -472,7 +474,7 @@ public class ThirdDataAccessCloudServiceImpl implements IThirdDataAccessCloudSer
for
(
ThirdPhotovoltaicPowerEnt
power
:
powerList
)
{
String
lineId
=
lineMap
.
get
(
power
.
getStationName
());
analysisList
.
add
(
EnergyConsumptionAnalysisView
.
builder
()
.
id
(
BaseUtils
.
randomUUIDString
())
.
id
(
BaseUtils
.
randomUUIDString
())
.
lineId
(
lineId
)
.
stationName
(
power
.
getStationName
())
.
powerGeneration
(
power
.
getPhotovoltaicPower
())
...
...
@@ -726,6 +728,7 @@ public class ThirdDataAccessCloudServiceImpl implements IThirdDataAccessCloudSer
.
abs
();
dtoList
.
add
(
ThirdActivePowerView
.
builder
()
.
id
(
BaseUtils
.
randomUUIDString
())
.
stationName
(
o
.
getStationName
())
.
stationId
(
collect
.
get
(
o
.
getStationName
()))
.
createDate
(
o
.
getCreateDate
())
...
...
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdActivePowerViewMapper.xml
View file @
3db9346c
...
...
@@ -40,11 +40,12 @@
</select>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
INSERT INTO THIRD_ACTIVE_POWER ( STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER, METER_POWER,
INSERT INTO THIRD_ACTIVE_POWER (
ID,
STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER, METER_POWER,
SYSTEM_SOURCE, INPUT_TIME)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(
#{item.id},
#{item.stationName},
#{item.stationId},
#{item.createDate},
...
...
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