INSERT INTO photo_manage (
photo_mng_id
, scls_id
) VALUES (
#{photoMngId}
, #{sclsId}
)
UPDATE photo_manage
SET photo_mng_id = #{photoMngId}
, scls_id = #{sclsId}
WHERE photo_mng_id = #{photoMngId}
DELETE
FROM photo_manage
WHERE photo_mng_id = #{photoMngId}