INSERT INTO
FORMINTERFACE
(
TENANTID,
FORMID,
INTERFACE,
INTERFACEMETHOD,
CUSTOMINTERFACEMETHOD,
DELETEFLG,
CREATEUSER,
CREATEDATETIME,
UPDATEUSER,
UPDATEDATETIME
)
VALUES (
#{tenantID},
#{formID},
#{interfaceName},
#{interfacemethod},
#{customInterfacemethod},
"0",
#{createUser},
#{createDatetime},
#{createUser},
current_timestamp()
)
DELETE FROM
FORMINTERFACE
WHERE
FORMID = #{formID}
AND
TENANTID = #{tenantID}
AND
INTERFACE = #{interfaceName}