diff --git a/mes/hd/nladmin-system/src/main/java/org/nl/wms/ext/bigScreen/wql/QDEVICE_SCREEN.wql b/mes/hd/nladmin-system/src/main/java/org/nl/wms/ext/bigScreen/wql/QDEVICE_SCREEN.wql index 2a853222..30a10f41 100644 --- a/mes/hd/nladmin-system/src/main/java/org/nl/wms/ext/bigScreen/wql/QDEVICE_SCREEN.wql +++ b/mes/hd/nladmin-system/src/main/java/org/nl/wms/ext/bigScreen/wql/QDEVICE_SCREEN.wql @@ -251,7 +251,7 @@ device.device_code, device.device_name, pro.workprocedure_name, - (case when run.status_type = '01' or IFUNLL(status_type,'') = '' then '关机' + (case when run.status_type = '01' or IFNULL(status_type,'') = '' then '关机' when run.status_type = '02' then '开机' when run.status_type = '03' then '生产中' when run.status_type = '04' then '待机'