fix: revert to cedlab_Chart_UL1 (already has all V2 fields); remove cedlab_Chart_UL2; fix AllSeriesV2 SQL with DailyUL1 logic

This commit is contained in:
2026-05-27 16:35:48 +02:00
parent a866a2f7d5
commit e4728cf79e
5 changed files with 39 additions and 216 deletions

View File

@@ -33,10 +33,11 @@ public class ChartDataServiceV2 : IChartDataServiceV2
await using var conn = new SqlConnection(_connectionString);
await conn.OpenAsync();
// ── 1. Metadata sottostanti (cedlab_Chart_UL2) ─────────────────
// ── 1. Metadata sottostanti (cedlab_Chart_UL1) ─────────────────
// cedlab_Chart_UL1 già restituisce tutti i campi necessari per V2
var underlyings = new List<ChartUlMetadata>();
await using (var cmd = new SqlCommand("cedlab_Chart_UL2", conn)
await using (var cmd = new SqlCommand("cedlab_Chart_UL1", conn)
{ CommandType = CommandType.StoredProcedure })
{
cmd.Parameters.AddWithValue("@isin", isin);