Merge branch 'refs/heads/develop'
This commit is contained in:
@@ -9,10 +9,9 @@
|
|||||||
INSERT INTO platform_communication (scenary_id, command_platform, subordinate_platform, command_comm, subordinate_comm)
|
INSERT INTO platform_communication (scenary_id, command_platform, subordinate_platform, command_comm, subordinate_comm)
|
||||||
VALUES
|
VALUES
|
||||||
<foreach collection="afsimScenarios" item="item" separator=",">
|
<foreach collection="afsimScenarios" item="item" separator=",">
|
||||||
(#{scenaryId}, #{item.sourcePlatform}, #{item.targetPlatform}, #{item.sourceComponent}, #{item.targetComponent})
|
(#{scenaryId}, #{item.sourcePlatform.name}, #{item.targetPlatform.name}, #{item.sourceComponent.name}, #{item.targetComponent.name})
|
||||||
</foreach>
|
</foreach>
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<delete id="delete" parameterType="java.lang.Integer">
|
<delete id="delete" parameterType="java.lang.Integer">
|
||||||
DELETE FROM platform_communication
|
DELETE FROM platform_communication
|
||||||
WHERE scenary_id = #{scenaryId}
|
WHERE scenary_id = #{scenaryId}
|
||||||
|
|||||||
Reference in New Issue
Block a user