INSERT INTO FORMVALIDATION
(VALIDATIONRULEGROUPID,
ORDERNUM,
TENANTID,
FORMID,
RULESET,
DELETEFLG,
CREATEUSER,
CREATEDATETIME,
UPDATEUSER,
UPDATEDATETIME)
VALUES
(#{item.validationRuleGroupID},
#{item.orderNum},
#{item.tenantID},
#{item.formID},
#{item.ruleset},
'0',
#{item.createUser},
CURRENT_TIMESTAMP(),
#{item.updateUser},
CURRENT_TIMESTAMP())
DELETE FROM FORMVALIDATION
WHERE VALIDATIONRULEGROUPID = #{validationRuleGroupID}