From a5f5aacb5dc58dc05cd7c98c6614e44e2f4f6140 Mon Sep 17 00:00:00 2001 From: Gallardot Date: Thu, 3 Aug 2023 18:15:09 +0800 Subject: [PATCH] [Bug][Alert]batchInsert execption #14686 (#14687) Signed-off-by: Gallardot Co-authored-by: xiangzihao <460888207@qq.com> --- .../dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml index 282838f1df..a2b27a91ba 100644 --- a/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml +++ b/dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml @@ -22,14 +22,13 @@ insert into t_ds_alert_send_status (alert_id, alert_plugin_instance_id, send_status, log, create_time) values - - #{alertSendStatus.alertId}, + + (#{alertSendStatus.alertId}, #{alertSendStatus.alertPluginInstanceId}, #{alertSendStatus.sendStatus}, #{alertSendStatus.log}, - #{alertSendStatus.createTime} + #{alertSendStatus.createTime}) -