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
b9af88a5
Commit
b9af88a5
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
9c52285a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
2 deletions
+48
-2
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/ThirdWindPowerGenerationUpdateViewMapper.xml
...ps/core/base/ThirdWindPowerGenerationUpdateViewMapper.xml
+24
-1
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/ThirdWindPowerGenerationViewMapper.xml
...pper/pps/core/base/ThirdWindPowerGenerationViewMapper.xml
+24
-1
No files found.
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/ThirdWindPowerGenerationUpdateViewMapper.xml
View file @
b9af88a5
...
...
@@ -74,7 +74,7 @@
ACTUAL_WIND_DIRECTION
</select>
<insert
id=
"batchInsert"
parameterType=
"list"
>
<insert
id=
"batchInsert"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_WIND_POWER_GENERATION_UPDATE (ID, STATION_NAME, STATION_ID, COLLECT_TIME, ACTUAL_WIND_SPEED,
ACTUAL_POWER, ACTUAL_GENERATION, ACCURATE_WIND_DIRECTION, ACTUAL_WIND_DIRECTION, INPUT_TIME, SYSTEM_SOURCE)
VALUES
...
...
@@ -95,6 +95,29 @@
</foreach>
</insert>
<insert
id=
"batchInsert"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_WIND_POWER_GENERATION_UPDATE (ID, STATION_NAME, STATION_ID, COLLECT_TIME, ACTUAL_WIND_SPEED,
ACTUAL_POWER, ACTUAL_GENERATION, ACCURATE_WIND_DIRECTION, ACTUAL_WIND_DIRECTION, INPUT_TIME, SYSTEM_SOURCE)
VALUES
(
#{item.id},
#{item.stationName},
#{item.stationId},
#{item.collectTime},
#{item.actualWindSpeed},
#{item.actualPower},
#{item.actualGeneration},
#{item.accurateWindDirection},
#{item.actualWindDirection},
#{item.inputTime},
#{item.systemSource}
)
</foreach>
SELECT * FROM DUAL
</insert>
<delete
id=
"deleteBatch"
parameterType=
"list"
>
DELETE FROM THIRD_WIND_POWER_GENERATION_UPDATE
WHERE
...
...
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/ThirdWindPowerGenerationViewMapper.xml
View file @
b9af88a5
...
...
@@ -72,7 +72,7 @@
WHERE RN = 1
</select>
<insert
id=
"batchInsert"
parameterType=
"list"
>
<insert
id=
"batchInsert"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_WIND_POWER_GENERATION (ID, STATION_NAME, STATION_ID, COLLECT_TIME, ACTUAL_WIND_SPEED,
ACTUAL_POWER, ACTUAL_GENERATION, ACCURATE_WIND_DIRECTION, ACTUAL_WIND_DIRECTION, INPUT_TIME, SYSTEM_SOURCE)
VALUES
...
...
@@ -92,4 +92,27 @@
)
</foreach>
</insert>
<insert
id=
"batchInsert"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_WIND_POWER_GENERATION (ID, STATION_NAME, STATION_ID, COLLECT_TIME, ACTUAL_WIND_SPEED,
ACTUAL_POWER, ACTUAL_GENERATION, ACCURATE_WIND_DIRECTION, ACTUAL_WIND_DIRECTION, INPUT_TIME, SYSTEM_SOURCE)
VALUES
(
#{item.id},
#{item.stationName},
#{item.stationId},
#{item.collectTime},
#{item.actualWindSpeed},
#{item.actualPower},
#{item.actualGeneration},
#{item.accurateWindDirection},
#{item.actualWindDirection},
#{item.inputTime},
#{item.systemSource}
)
</foreach>
SELECT * FROM DUAL
</insert>
</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