PostgreSql 报错 返回
03-24 17:05:01||| 【错误SQL,db=0】UPDATE "alarm_log" SET "alarm_provider_id"=3,"alarm_trigger_id"=6,"trigger_value"=N'[ime-0880-1_温度] < 20 || [ime-0880-1_温度] > 24 || [ime-0880-2_温度] < 20 || [ime-0880-2_温度] > 24 || [ime-0880-3_温度] < 20 || [ime-0880-3_温度] > 24 || [ime-0880-4_温度] < 20 || [ime-0880-4_温度] > 24 || [ime-0880-5_温度] < 20 || [ime-0880-5_温度] > 24 ;ime-0880-1_温度 = 24.1',"alarm_result"=N'成功!',"is_alarm_success"=1,"is_clear"=0,"alarm_time"='2026-03-24 17:05:01.988',"clear_by"=null,"clear_time"=null WHERE "id"=13954 Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index') at Npgsql.NpgsqlDataReader.ProcessMessage(IBackendMessage msg) at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteNonQuery(Boolean async, CancellationToken cancellationToken) at SqlSugar.AdoProvider.ExecuteCommandAsync(String sql, SugarParameter[] parameters)
热忱回答(1)
-
fate sta VIP0
2026/3/26var xxx=sss.xxx;
xxx在传入ORM
0 回复