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
b96a1f90
Commit
b96a1f90
authored
Dec 09, 2024
by
ZWT
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得到的
parent
6800ed31
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
1 deletion
+32
-1
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BaseEnergyStorageDeviceViewMapper.xml
...apper/pps/core/base/BaseEnergyStorageDeviceViewMapper.xml
+32
-1
No files found.
C09-base/pps-core-base/src/main/resources/mybatis/mapper/pps/core/base/BaseEnergyStorageDeviceViewMapper.xml
View file @
b96a1f90
...
...
@@ -61,7 +61,7 @@
ID=#{id}
</select>
<insert
id=
"batchInsertList"
parameterType=
"list"
>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"MySQL"
>
INSERT INTO BASE_ENERGY_STORAGE_DEVICE (ID, IS_DELETED, CREATE_BY_ID, CREATE_BY_NAME,
CREATE_TIME, MODIFY_BY_ID, MODIFY_BY_NAME, MODIFY_TIME, OU_ID, OU_NAME, DEVICE_NAME,
MAKER_NUMBER, STORAGE_MODEL_NAME, APPARATUS_CAPACITY, RATED_DISCHARGE_POWER,
...
...
@@ -89,4 +89,35 @@
)
</foreach>
</insert>
<insert
id=
"batchInsertList"
parameterType=
"list"
databaseId=
"Oracle"
>
INSERT ALL
<foreach
collection=
"list"
item=
"item"
>
INTO BASE_ENERGY_STORAGE_DEVICE (ID, IS_DELETED, CREATE_BY_ID, CREATE_BY_NAME,
CREATE_TIME, MODIFY_BY_ID, MODIFY_BY_NAME, MODIFY_TIME, OU_ID, OU_NAME, DEVICE_NAME,
MAKER_NUMBER, STORAGE_MODEL_NAME, APPARATUS_CAPACITY, RATED_DISCHARGE_POWER,
RATED_CHARGING_POWER, RATED_DISCHARGE_DEPTH, RATED_DISCHARGE_EFFICIENCY) VALUES
(
#{item.id},
#{item.isDeleted},
#{item.createById},
#{item.createByName},
#{item.createTime},
#{item.modifyById},
#{item.modifyByName},
#{item.modifyTime},
#{item.ouId},
#{item.ouName},
#{item.deviceName},
#{item.makerNumber},
#{item.storageModelName},
#{item.apparatusCapacity},
#{item.ratedDischargePower},
#{item.ratedChargingPower},
#{item.ratedDischargeDepth},
#{item.ratedDischargeEfficiency}
)
</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