This is an automated email from the ASF dual-hosted git repository.
zihaoxiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 37ecd262ee [Bug][Alert]batchInsert execption #14675 (#14676)
37ecd262ee is described below
commit 37ecd262ee9a2228f0daf84e336dcfdd6f2ae9ad
Author: Gallardot <[email protected]>
AuthorDate: Tue Aug 1 13:54:00 2023 +0800
[Bug][Alert]batchInsert execption #14675 (#14676)
Signed-off-by: Gallardot <[email protected]>
---
.../org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java | 2 +-
.../org/apache/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<AlertSendStatus> {
- int batchInsert(List<AlertSendStatus> alertSendStatuses);
+ int batchInsert(@Param("alertSendStatuses") List<AlertSendStatus>
alertSendStatuses);
void deleteByAlertIds(@Param("alertIds") List<Integer> 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}
</foreach>
</insert>