From 8b2f4dab895fe6ba3610f2fd071577c00bca5d6c Mon Sep 17 00:00:00 2001 From: MHW Date: Tue, 17 Mar 2026 11:07:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=9C=BA=E6=99=AF=E5=85=B3?= =?UTF-8?q?=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scene/PlatFormCommunicationMapper.xml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/auto-solution-scene/src/main/resources/mapper/scene/PlatFormCommunicationMapper.xml b/auto-solution-scene/src/main/resources/mapper/scene/PlatFormCommunicationMapper.xml index 1be0f29..d745257 100644 --- a/auto-solution-scene/src/main/resources/mapper/scene/PlatFormCommunicationMapper.xml +++ b/auto-solution-scene/src/main/resources/mapper/scene/PlatFormCommunicationMapper.xml @@ -9,12 +9,11 @@ INSERT INTO platform_communication (scenary_id, command_platform, subordinate_platform, command_comm, subordinate_comm) VALUES - (#{scenaryId}, #{item.sourcePlatform}, #{item.targetPlatform}, #{item.sourceComponent}, #{item.targetComponent}) - - - - - DELETE FROM platform_communication - WHERE scenary_id = #{scenaryId} - - \ No newline at end of file + (#{scenaryId}, #{item.sourcePlatform.name}, #{item.targetPlatform.name}, #{item.sourceComponent.name}, #{item.targetComponent.name}) + + + + DELETE FROM platform_communication + WHERE scenary_id = #{scenaryId} + + \ No newline at end of file