dmolinari
3b1edfd696
feat(infrastructure): ChargeableCharConfigRepository Dapper + SP invocation (PRC-001)
- ChargeableCharConfigRepository implements IChargeableCharConfigRepository via Dapper
- InsertWithCloseAsync calls usp_ChargeableCharConfig_InsertWithClose with OUTPUT params;
maps SqlException 50409 → ChargeableCharConfigForwardOnlyException, 50404 → ChargeableCharConfigInvalidException
- GetActiveForMedioAsync calls usp_ChargeableCharConfig_GetActiveForMedio; returns all rows
(global + per-medio) — Application service handles priority resolution
- ListAsync / CountAsync use parameterized SQL with OFFSET/FETCH and NULL-aware MedioId filter
- GetByIdAsync / DeactivateAsync cover single-entity read and idempotent deactivation
- DateOnly mapping: DateTime → DateOnly.FromDateTime() pattern, same as ProductPriceRepository
- Registered IChargeableCharConfigRepository → ChargeableCharConfigRepository in DI
- 14 integration tests against SIGCM2_Test_App (all GREEN); 1571/1571 total tests pass
2026-04-20 12:32:17 -03:00
..
2026-04-16 13:23:11 -03:00
2026-04-18 10:12:32 -03:00
2026-04-19 08:18:56 -03:00
2026-04-18 20:56:23 -03:00
2026-04-20 12:13:06 -03:00
2026-04-20 12:32:17 -03:00
2026-04-18 10:12:32 -03:00
2026-04-20 12:01:49 -03:00
2026-04-18 21:44:36 -03:00
2026-04-18 20:56:23 -03:00
2026-04-20 12:24:06 -03:00
2026-04-19 20:01:09 -03:00
2026-04-19 13:37:10 -03:00
2026-04-18 10:12:32 -03:00
2026-04-16 13:54:47 -03:00
2026-04-19 17:08:30 -03:00
2026-04-18 21:44:36 -03:00
2026-04-18 20:56:23 -03:00
2026-04-18 10:12:32 -03:00
2026-04-18 21:44:24 -03:00
2026-04-18 21:44:24 -03:00