id, org_name, ext_name, new_name, hash, file_path, download_path, dt
delete from oth_file
where id = #{id}
insert into oth_file (id, org_name, ext_name, new_name, hash, file_path, download_path,
dt)
values (#{id}, #{orgName}, #{extName}, #{newName}, #{hash}, #{filePath}, #{downloadPath},
#{dt})
insert into oth_file
id,
org_name,
ext_name,
new_name,
hash,
file_path,
download_path,
dt,
#{id},
#{orgName},
#{extName},
#{newName},
#{hash},
#{filePath},
#{downloadPath},
#{dt},
update oth_file
org_name = #{orgName},
ext_name = #{extName},
new_name = #{newName},
hash = #{hash},
file_path = #{filePath},
download_path = #{downloadPath},
dt = #{dt},
where id = #{id}
update oth_file
set org_name = #{orgName},
ext_name = #{extName},
new_name = #{newName},
hash = #{hash},
file_path = #{filePath},
download_path = #{downloadPath},
dt = #{dt}
where id = #{id}