feat(data-access): add SqlObjects constants and update references

Add centralized SqlObjects class with constants for stored procedure
and function names using usp_/fn_ prefixes. Update LotFinderRepository
and MisQueryBuilder to use the new naming convention.
This commit is contained in:
Joseph Doherty
2026-01-06 15:50:21 -05:00
parent b797f55ac5
commit e5b9c18352
3 changed files with 20 additions and 3 deletions
@@ -159,7 +159,7 @@ public sealed class MisQueryBuilder
mm.Status,
mm.ReleaseDate
FROM MIS_CTE c CROSS APPLY
dbo.MatchMIS(c.WorkOrderNumber, c.ItemNumber, c.BranchCode, c.RoutingType,
dbo.fn_MatchMIS(c.WorkOrderNumber, c.ItemNumber, c.BranchCode, c.RoutingType,
c.IssueDate, c.WorkCenterCode, c.StepNumber, c.EndDT,
c.FunctionCode, c.FunctionOperationDescription) AS mm;
""";