uuid,
kee,
base_plugin_key as basePluginKey,
file_hash as fileHash,
type,
removed,
created_at as createdAt,
updated_at as updatedAt
insert into plugins (
uuid,
kee,
base_plugin_key,
file_hash,
type,
removed,
created_at,
updated_at
) values (
#{uuid,jdbcType=VARCHAR},
#{kee,jdbcType=VARCHAR},
#{basePluginKey,jdbcType=VARCHAR},
#{fileHash,jdbcType=VARCHAR},
#{type,jdbcType=VARCHAR},
#{removed,jdbcType=BOOLEAN},
#{createdAt,jdbcType=TIMESTAMP},
#{updatedAt,jdbcType=TIMESTAMP}
)
update plugins set
base_plugin_key=#{basePluginKey,jdbcType=VARCHAR},
file_hash=#{fileHash,jdbcType=VARCHAR},
type=#{type,jdbcType=VARCHAR},
removed=#{removed,jdbcType=BOOLEAN},
updated_at=#{updatedAt,jdbcType=BIGINT}
where
uuid=#{uuid,jdbcType=VARCHAR}