udm.uuid,
udm.user_uuid as userUuid,
udm.project_uuid as projectUuid,
udm.message_type as messageType,
udm.created_at as createdAt
insert into user_dismissed_messages
(
uuid,
user_uuid,
project_uuid,
message_type,
created_at
)
values (
#{dto.uuid,jdbcType=VARCHAR},
#{dto.userUuid,jdbcType=VARCHAR},
#{dto.projectUuid,jdbcType=VARCHAR},
#{dto.messageType,jdbcType=VARCHAR},
#{dto.createdAt,jdbcType=BIGINT}
)
delete from user_dismissed_messages where user_uuid = #{userUuid, jdbcType=VARCHAR}
delete from user_dismissed_messages where message_type = #{messageType, jdbcType=VARCHAR}