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:
@@ -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;
|
||||
""";
|
||||
|
||||
Reference in New Issue
Block a user