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
016159be
Commit
016159be
authored
Dec 17, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
e503cc05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
7 deletions
+27
-7
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/WindPredictionHistoryViewMapper.xml
.../mapper/pps/core/base/WindPredictionHistoryViewMapper.xml
+27
-7
No files found.
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/WindPredictionHistoryViewMapper.xml
View file @
016159be
...
...
@@ -90,8 +90,20 @@
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO WIND_PREDICTION_HISTORY (ID, STATION_ID, DATA_TIME, WIND_DIRECTION, WIND_SPEED, AIR_TEMPERATURE,
HUMIDITY, PRESSURE, ACTUAL_WIND_DIRECTION, ACTUAL_WIND_SPEED, ACTUAL_POWER, PREDICTED_POWER, WND_100M,
WNS_100M, WNS_GRD_100M) VALUES (
HUMIDITY, PRESSURE, ACTUAL_WIND_DIRECTION, ACTUAL_WIND_SPEED, ACTUAL_POWER
<if
test=
"item.predictedPower != null"
>
,PREDICTED_POWER
</if>
<if
test=
"item.wnd100m != null"
>
,WND_100M
</if>
<if
test=
"item.wns100m != null"
>
,WNS_100M
</if>
<if
test=
"item.wnsGrd100m != null"
>
,WNS_GRD_100M
</if>
) VALUES (
#{item.id},
#{item.stationId},
#{item.dataTime},
...
...
@@ -102,11 +114,19 @@
#{item.pressure},
#{item.actualWindDirection},
#{item.actualWindSpeed},
#{item.actualPower},
#{item.predictedPower},
#{item.wnd100m},
#{item.wns100m},
#{item.wnsGrd100m}
#{item.actualPower}
<if
test=
"item.predictedPower != null"
>
,#{item.predictedPower}
</if>
<if
test=
"item.wnd100m != null"
>
,#{item.wnd100m}
</if>
<if
test=
"item.wns100m != null"
>
,#{item.wns100m}
</if>
<if
test=
"item.wnsGrd100m != null"
>
,#{item.wnsGrd100m}
</if>
)
</foreach>
SELECT * FROM DUAL
...
...
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