A.file_id,
B.file_title,
B.dir_id,
B.file_icon,
B.file_url,
B.file_ext,
B.file_size,
B.file_author,
B.file_desc,
B.uploaded_by AS uploader_id,
C.account_name AS unloader_name,
B.uploaded_at
INSERT INTO art_attach
oc_id,
art_id,
file_id,
#{ocId ,jdbcType=BIGINT},
#{artId ,jdbcType=BIGINT},
#{fileId ,jdbcType=BIGINT},
DELETE FROM art_attach
WHERE oc_id = #{ocId ,jdbcType=BIGINT}
AND art_id = #{artId ,jdbcType=BIGINT}
AND file_id = #{fileId ,jdbcType=BIGINT}