Skip to content

Commit

Permalink
Merge branch 'B-22129-Closeout-Data' into B-22129-INT-Closeout-Data
Browse files Browse the repository at this point in the history
  • Loading branch information
loganwc committed Jan 15, 2025
2 parents 9b9b600 + 5d1ee5d commit ef57fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/services/move/move_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (f moveFetcherBulkAssignment) FetchMovesForBulkAssignmentCloseout(appCtx ap

query := `SELECT
moves.id,
COALESCE(ppm_shipments.expected_departure_date, '9999-12-31') AS earliest_date
ppm_shipments.submitted_at AS earliest_date
FROM moves
INNER JOIN orders ON orders.id = moves.orders_id
INNER JOIN service_members ON service_members.id = orders.service_member_id
Expand Down Expand Up @@ -199,7 +199,7 @@ func (f moveFetcherBulkAssignment) FetchMovesForBulkAssignmentCloseout(appCtx ap

query += ` AND (ppm_shipments.status IN ($2))
AND (orders.orders_type NOT IN ($3, $4, $5))
GROUP BY moves.id, ppm_shipments.expected_departure_date
GROUP BY moves.id, ppm_shipments.submitted_at
ORDER BY earliest_date ASC`

err := appCtx.DB().RawQuery(query,
Expand Down

0 comments on commit ef57fc3

Please sign in to comment.