Browse Source

[Bug][Alert]batchInsert execption #14675 (#14676)

Signed-off-by: Gallardot <gallardot@apache.org>
3.2.1-prepare
Gallardot 1 year ago committed by GitHub
parent
commit
37ecd262ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.java
  2. 2
      dolphinscheduler-dao/src/main/resources/org/apache/dolphinscheduler/dao/mapper/AlertSendStatusMapper.xml

2
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);
}

2
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>

Loading…
Cancel
Save