diff --git a/dl-module-rescue/src/main/resources/mapper/rescue/RescueChannelSourceMapper.xml b/dl-module-rescue/src/main/resources/mapper/rescue/RescueChannelSourceMapper.xml index f7d4c95b..bb4da501 100644 --- a/dl-module-rescue/src/main/resources/mapper/rescue/RescueChannelSourceMapper.xml +++ b/dl-module-rescue/src/main/resources/mapper/rescue/RescueChannelSourceMapper.xml @@ -20,7 +20,7 @@ rcs.id, rcs.name FROM rescue_second_channel_association rsca - LEFT JOIN rescue_channel_source rcs ON rcs.id = rsca.channel_id AND rcs.type = 0 AND rcs.deleted = 0 + RIGHT JOIN rescue_channel_source rcs ON rcs.id = rsca.channel_id AND rcs.type = 0 AND rcs.deleted = 0 where rsca.dispatch_id = #{dispatchId} AND rsca.deleted = 0 ORDER BY rcs.create_time ASC