|
|
|
@@ -159,6 +159,7 @@ fun findCompletedWithPlasticBoxCartonQtyInPlanStartRange( |
|
|
|
): List<PickOrder> |
|
|
|
|
|
|
|
|
|
|
|
/** FP-MTMS Version Checklist | Functions Ref. No. 37 | v1.0.2 | 2026-08-25 */ |
|
|
|
@Modifying(clearAutomatically = true, flushAutomatically = true) |
|
|
|
@Query( |
|
|
|
value = """ |
|
|
|
@@ -169,6 +170,7 @@ fun findCompletedWithPlasticBoxCartonQtyInPlanStartRange( |
|
|
|
modifiedBy = :modifiedBy |
|
|
|
WHERE deliveryOrderPickOrderId = :dopoId |
|
|
|
AND deleted = 0 |
|
|
|
AND LOWER(COALESCE(status, '')) <> 'completed' |
|
|
|
""", |
|
|
|
nativeQuery = true |
|
|
|
) |
|
|
|
|