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

Signed-off-by: Gallardot <gallardot@apache.org>
(cherry picked from commit 37ecd262ee)
This commit is contained in:
Gallardot 2023-08-01 13:54:00 +08:00 committed by Jay Chung
parent 9af39ea893
commit df955e3919
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -27,7 +27,7 @@
#{alertSendStatus.alertPluginInstanceId},
#{alertSendStatus.sendStatus},
#{alertSendStatus.log},
#{alertSendStatus.createTime},
#{alertSendStatus.createTime}
</foreach>
</insert>