mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
style(uplift): fix comment indentation in queue list query
This commit is contained in:
parent
468522c3f7
commit
9388e7a987
1 changed files with 7 additions and 7 deletions
|
|
@ -25,13 +25,13 @@ namespace SeaHaven.DataServices.Implementation
|
|||
from v in vendors.DefaultIfEmpty()
|
||||
join ev in _context.VendorCompletionDocuments on u.EvidenceDocumentId equals ev.Id into evidences
|
||||
from ev in evidences.DefaultIfEmpty()
|
||||
// SH-207: resolve the work order through the same primary-plus-linked
|
||||
// convention the sibling reads use (GetWorkOrderIdForUpliftAsync,
|
||||
// GetApprovedExposureForWorkOrdersAsync). A dispatch whose work order is
|
||||
// linked only through DispatchWorkOrders still surfaces its work-order id,
|
||||
// flattened WO context, the closed flag, and approved exposure. The
|
||||
// effective id feeds a single work-order lookup so every field resolves
|
||||
// from one row.
|
||||
// SH-207: resolve the work order through the same primary-plus-linked
|
||||
// convention the sibling reads use (GetWorkOrderIdForUpliftAsync,
|
||||
// GetApprovedExposureForWorkOrdersAsync). A dispatch whose work order is
|
||||
// linked only through DispatchWorkOrders still surfaces its work-order id,
|
||||
// flattened WO context, the closed flag, and approved exposure. The
|
||||
// effective id feeds a single work-order lookup so every field resolves
|
||||
// from one row.
|
||||
let effectiveWorkOrderId = d.WorkOrderId
|
||||
?? d.DispatchWorkOrders!.Select(link => (int?)link.WorkOrderId).FirstOrDefault()
|
||||
let workOrder = _context.workOrders
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue