ctm.uuid,
ctm.task_uuid as taskUuid,
ctm.message as message,
ctm.message_type as type,
ctm.created_at as createdAt
insert into ce_task_message
(
uuid,
task_uuid,
message,
message_type,
created_at
)
values (
#{dto.uuid,jdbcType=VARCHAR},
#{dto.taskUuid,jdbcType=VARCHAR},
#{dto.message,jdbcType=VARCHAR},
#{dto.type,jdbcType=VARCHAR},
#{dto.createdAt,jdbcType=BIGINT}
)
delete from ce_task_message where message_type = #{ceMessageType, jdbcType=VARCHAR}