INSERT INTO form_bo_def (id_, category_id_, category_name_, alias_, description_, support_db_, deployed_, status_, create_by_, create_time_, rev_)
VALUES
(#{id,jdbcType=VARCHAR}, #{categoryId,jdbcType=VARCHAR} , #{categoryName,jdbcType=VARCHAR},#{alias,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR},
CAST(#{supportDb} as integer)
,
CAST(#{deployed} as integer)
, #{status,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{rev,jdbcType=NUMERIC})
DELETE FROM form_bo_def
WHERE
alias_=#{alias}