UPDATE FORMVERSION
SET
FORMVERSION = #{formVersion}
WHERE
FORMSETID = #{formSetID}
AND TENANTID = #{tenantID}
AND FORMID = #{formID}
INSERT INTO FORMVERSION
(FORMVERSION,
FORMSETID,
TENANTID,
FORMID)
VALUES
(#{formVersion},
#{formSetID},
#{tenantID},
#{formID})