INSERT INTO system_config (config_key, config_value, config_type, description, is_system) VALUES (#{configKey}, #{configValue}, #{configType}, #{description}, #{isSystem}) UPDATE system_config SET config_value = #{configValue}, config_type = #{configType}, description = #{description}, is_system = #{isSystem} WHERE id = #{id} DELETE FROM system_config WHERE id = #{id} DELETE FROM system_config WHERE config_key = #{configKey}