From 37ecd262ee9a2228f0daf84e336dcfdd6f2ae9ad Mon Sep 17 00:00:00 2001 From: Gallardot Date: Tue, 1 Aug 2023 13:54:00 +0800 Subject: [PATCH] [Bug][Alert]batchInsert execption #14675 (#14676) Signed-off-by: Gallardot --- .../dolphinscheduler/dao/mapper/AlertSendStatusMapper.java | 2 +- .../dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java index 3377e3d682..7c6c131f81 100644 --- a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java +++ b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java @@ -27,7 +27,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; public interface AlertSendStatusMapper extends BaseMapper { - int batchInsert(List alertSendStatuses); + int batchInsert(@Param("alertSendStatuses") List alertSendStatuses); void deleteByAlertIds(@Param("alertIds") List alertIds); } 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 f27c55d70b..282838f1df 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 @@ -27,7 +27,7 @@ #{alertSendStatus.alertPluginInstanceId}, #{alertSendStatus.sendStatus}, #{alertSendStatus.log}, - #{alertSendStatus.createTime}, + #{alertSendStatus.createTime}