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
02010039
Commit
02010039
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
42d6aa9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
1 deletion
+27
-1
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdCurrentWellConditionViewMapper.xml
...s/core/prediction/ThirdCurrentWellConditionViewMapper.xml
+27
-1
No files found.
C12-prediction/pps-core-prediction/src/main/resources/mybatis/mapper/pps/core/prediction/ThirdCurrentWellConditionViewMapper.xml
View file @
02010039
...
...
@@ -51,7 +51,7 @@
</foreach>
</delete>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO THIRD_CURRENT_WELL_CONDITION (ID, WELL_NUMBER, NEXT_TIME, WELL_STATUS, CUMULATIVE_PRODUCTION,
RUNNING_TIME, SYSTEM_SOURCE, UPDATE_TIME)
VALUES
...
...
@@ -68,4 +68,30 @@
)
</foreach>
</insert>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO THIRD_CURRENT_WELL_CONDITION (ID, WELL_NUMBER,
<if
test=
"item.nextTime != null"
>
NEXT_TIME,
</if>
WELL_STATUS, CUMULATIVE_PRODUCTION,
RUNNING_TIME, SYSTEM_SOURCE, UPDATE_TIME)
VALUES
(
#{item.id},
#{item.wellNumber},
<if
test=
"item.nextTime != null"
>
#{item.nextTime},
</if>
#{item.wellStatus},
#{item.cumulativeProduction},
#{item.runningTime},
#{item.systemSource},
#{item.updateTime}
)
</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