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
ba326f66
Commit
ba326f66
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
5e2dca31
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdPhotovoltaicPowerViewMapper.xml
.../pps/core/prediction/ThirdPhotovoltaicPowerViewMapper.xml
+16
-1
No files found.
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdPhotovoltaicPowerViewMapper.xml
View file @
ba326f66
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
ID=#{id}
ID=#{id}
</select>
</select>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_PHOTOVOLTAIC_POWER (ID, STATION_NAME, CREATE_DATE, PHOTOVOLTAIC_POWER, SYSTEM_SOURCE)
INSERT INTO THIRD_PHOTOVOLTAIC_POWER (ID, STATION_NAME, CREATE_DATE, PHOTOVOLTAIC_POWER, SYSTEM_SOURCE)
VALUES
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
<foreach
collection=
"list"
item=
"item"
separator=
","
>
...
@@ -49,4 +49,19 @@
...
@@ -49,4 +49,19 @@
)
)
</foreach>
</foreach>
</insert>
</insert>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_PHOTOVOLTAIC_POWER (ID, STATION_NAME, CREATE_DATE, PHOTOVOLTAIC_POWER, SYSTEM_SOURCE)
VALUES (
#{item.id},
#{item.stationName},
#{item.createDate},
#{item.photovoltaicPower},
#{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