diff --git a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/MPS_PRODUCEDURE001.wql b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/MPS_PRODUCEDURE001.wql index 1deca4c..3566602 100644 --- a/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/MPS_PRODUCEDURE001.wql +++ b/lms/nladmin-system/src/main/java/org/nl/wms/pdm/wql/MPS_PRODUCEDURE001.wql @@ -27,7 +27,7 @@ 输入.workprocedure_ids TYPEAS f_string 输入.unFinish TYPEAS s_string 输入.region_code TYPEAS s_string - + 输入.device TYPEAS s_string [临时表] --这边列出来的临时表就会在运行期动态创建 @@ -89,6 +89,9 @@ ENDOPTION OPTION 输入.region_code <> "" device.region_code = 输入.region_code + ENDOPTION + OPTION 输入.device <> "" + device.device_name = 输入.device ENDOPTION ENDSELECT ENDPAGEQUERY @@ -241,6 +244,9 @@ OPTION 输入.region_code <> "" device.region_code = 输入.region_code ENDOPTION + OPTION 输入.device <> "" + device.device_name = 输入.device + ENDOPTION ORDER BY ShiftOrder.order_status ASC, ShiftOrder.create_time DESC ENDSELECT