select id, source_name, source_alias, source_key, source_type, protocol, supplier_id, protocol_extended_config, is_secure, secure_config, max_concurrency, reception_time, data_active_poll_interval, data_inactivity_poll_interval, is_del, create_by, create_time, update_by, update_time, grab_days, topic_name from data_source_config
insert into data_source_config
source_name,
source_alias,
source_key,
source_type,
protocol,
supplier_id,
protocol_extended_config,
is_secure,
secure_config,
max_concurrency,
reception_time,
data_active_poll_interval,
data_inactivity_poll_interval,
is_del,
create_by,
create_time,
update_by,
update_time,
grab_days,
topic_name,
#{sourceName},
#{sourceAlias},
#{sourceKey},
#{sourceType},
#{protocol},
#{supplierId},
#{protocolExtendedConfig},
#{isSecure},
#{secureConfig},
#{maxConcurrency},
#{receptionTime},
#{dataActivePollInterval},
#{dataInactivityPollInterval},
#{isDel},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{grabDays},
#{topicName},
update data_source_config
source_name = #{sourceName},
source_alias = #{sourceAlias},
source_key = #{sourceKey},
source_type = #{sourceType},
protocol = #{protocol},
supplier_id = #{supplierId},
protocol_extended_config = #{protocolExtendedConfig},
is_secure = #{isSecure},
secure_config = #{secureConfig},
max_concurrency = #{maxConcurrency},
reception_time = #{receptionTime},
data_active_poll_interval = #{dataActivePollInterval},
data_inactivity_poll_interval = #{dataInactivityPollInterval},
is_del = #{isDel},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
grab_days = #{grabDays},
topic_name = #{topicName},
where id = #{id}
delete from data_source_config where id = #{id}
delete from data_source_config where id in
#{id}