BUS_IMGFILES SYS_DICTIONARIES f.FILEPATH, f.TYPE, f.FOREIGN_KEY, f.IMGFILES_ID FILEPATH, TYPE, FOREIGN_KEY, IMGFILES_ID #{FILEPATH}, #{TYPE}, #{FOREIGN_KEY}, #{IMGFILES_ID} insert into ( ) values ( ) delete from where IMGFILES_ID = #{IMGFILES_ID} delete from where FOREIGN_KEY = #{FOREIGN_KEY} and TYPE = #{TYPE} update set FILEPATH = #{FILEPATH}, TYPE = #{TYPE}, FOREIGN_KEY = #{FOREIGN_KEY}, IMGFILES_ID = IMGFILES_ID where IMGFILES_ID = #{IMGFILES_ID} update set ISDELETE = '1' where IMGFILES_ID in #{item}