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
5e2dca31
Commit
5e2dca31
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
02010039
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
2 deletions
+52
-2
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdDailyAccumulationUpdateViewMapper.xml
...ore/prediction/ThirdDailyAccumulationUpdateViewMapper.xml
+27
-1
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdDailyAccumulationViewMapper.xml
.../pps/core/prediction/ThirdDailyAccumulationViewMapper.xml
+25
-1
No files found.
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdDailyAccumulationUpdateViewMapper.xml
View file @
5e2dca31
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
ID=#{id}
ID=#{id}
</select>
</select>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_DAILY_ACCUMULATION_UPDATE (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
INSERT INTO THIRD_DAILY_ACCUMULATION_UPDATE (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
SAVE_DATE, SYSTEM_SOURCE,
SAVE_DATE, SYSTEM_SOURCE,
...
@@ -74,6 +74,32 @@
...
@@ -74,6 +74,32 @@
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_DAILY_ACCUMULATION_UPDATE (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
SAVE_DATE, SYSTEM_SOURCE,
SAVE_HOUR)
VALUES
(
#{item.id},
#{item.stationName},
#{item.stationId},
#{item.createDate},
#{item.photovoltaicPower},
#{item.dailyElectricityConsumption},
#{item.dailyLiquidProduction},
#{item.inPlaceConsumption},
#{item.energyStorageDischarge},
#{item.saveDate},
#{item.systemSource},
#{item.saveHour}
)
</foreach>
SELECT * FROM DUAL
</insert>
<resultMap
id=
"ExtResultMap"
type=
"pps.core.prediction.entity.ThirdDailyAccumulationUpdateView"
<resultMap
id=
"ExtResultMap"
type=
"pps.core.prediction.entity.ThirdDailyAccumulationUpdateView"
extends=
"BaseResultMap"
>
extends=
"BaseResultMap"
>
<result
column=
"DAY_FLAG"
property=
"dayFlag"
/>
<result
column=
"DAY_FLAG"
property=
"dayFlag"
/>
...
...
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdDailyAccumulationViewMapper.xml
View file @
5e2dca31
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
ID=#{id}
ID=#{id}
</select>
</select>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_DAILY_ACCUMULATION (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
INSERT INTO THIRD_DAILY_ACCUMULATION (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
SAVE_DATE, SYSTEM_SOURCE )
SAVE_DATE, SYSTEM_SOURCE )
...
@@ -68,4 +68,28 @@
...
@@ -68,4 +68,28 @@
)
)
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_DAILY_ACCUMULATION (ID, STATION_NAME, STATION_ID, CREATE_DATE, PHOTOVOLTAIC_POWER,
DAILY_ELECTRICITY_CONSUMPTION, DAILY_LIQUID_PRODUCTION, IN_PLACE_CONSUMPTION, ENERGY_STORAGE_DISCHARGE,
SAVE_DATE, SYSTEM_SOURCE )
VALUES
(
#{item.id},
#{item.stationName},
#{item.stationId},
#{item.createDate},
#{item.photovoltaicPower},
#{item.dailyElectricityConsumption},
#{item.dailyLiquidProduction},
#{item.inPlaceConsumption},
#{item.energyStorageDischarge},
#{item.saveDate},
#{item.systemSource}
)
</foreach>
SELECT * FROM DUAL
</insert>
</mapper>
</mapper>
\ No newline at end of file
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