SYS_USERPHOTO USERNAME, PHOTO0, PHOTO1, PHOTO2, PHOTO3, USERPHOTO_ID #{USERNAME}, #{PHOTO0}, #{PHOTO1}, #{PHOTO2}, #{PHOTO3}, #{USERPHOTO_ID} insert into ( ) values ( ) delete from where USERPHOTO_ID = #{USERPHOTO_ID} update set PHOTO0 = #{PHOTO0}, PHOTO1 = #{PHOTO1}, PHOTO2 = #{PHOTO2}, PHOTO3 = #{PHOTO3} where USERNAME = #{USERNAME} delete from where USERPHOTO_ID in #{item}