select id, notify_type, channel, enabled, priority, config_json, create_by, create_time, update_by, update_time, remark from sys_notify_channel_config insert into sys_notify_channel_config ( notify_type, channel, enabled, priority, config_json, create_by, create_time, update_by, update_time, remark ) values ( #{notifyType}, #{channel}, #{enabled}, #{priority}, #{configJson}, #{createBy}, sysdate(), #{updateBy}, sysdate(), #{remark} ) update sys_notify_channel_config notify_type = #{notifyType}, channel = #{channel}, enabled = #{enabled}, priority = #{priority}, config_json = #{configJson}, update_by = #{updateBy}, update_time = sysdate() where id = #{id} delete from sys_notify_channel_config where id = #{id} delete from sys_notify_channel_config where id in #{id}