select file_id, file_name, file_bucket_name, file_url, file_size, file_time, file_type, relation_id from expenses_file
insert into expenses_file
file_id,
file_name,
file_bucket_name,
file_url,
file_size,
file_time,
file_type,
relation_id,
#{fileId},
#{fileName},
#{fileBucketName},
#{fileUrl},
#{fileSize},
#{fileTime},
#{fileType},
#{relationId},
delete from expenses_file where file_id = #{fileId}