diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/wql/ST_OUTIVT04.wql b/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/wql/ST_OUTIVT04.wql index e361b9231..213e9dc4f 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/wql/ST_OUTIVT04.wql +++ b/lms/nladmin-system/src/main/java/org/nl/wms/st/outbill/wql/ST_OUTIVT04.wql @@ -257,6 +257,8 @@ AND attr.out_order_seq > 输入.out_order_seq AND IFNULL( attr.storagevehicle_code, '' ) <> '' + ORDER BY out_order_seq DESC + ENDSELECT ENDQUERY ENDIF @@ -274,6 +276,8 @@ AND attr.out_order_seq < 输入.out_order_seq AND IFNULL( attr.storagevehicle_code, '' ) <> '' + ORDER BY out_order_seq + ENDSELECT ENDQUERY ENDIF