|
|
@ -24,6 +24,7 @@ |
|
|
|
输入.methods_id TYPEAS s_string |
|
|
|
输入.blurry TYPEAS s_string |
|
|
|
输入.region TYPEAS s_string |
|
|
|
输入.is_config TYPEAS s_string |
|
|
|
[临时表] |
|
|
|
--这边列出来的临时表就会在运行期动态创建 |
|
|
|
|
|
|
@ -49,13 +50,16 @@ |
|
|
|
PAGEQUERY |
|
|
|
SELECT |
|
|
|
d.*, dict.label AS device_type_name, |
|
|
|
dict2.label AS region_name |
|
|
|
dict2.label AS region_name, |
|
|
|
dict3.label AS config |
|
|
|
FROM |
|
|
|
ACS_DEVICE d |
|
|
|
LEFT JOIN sys_dict_detail dict ON dict.value = d.device_type |
|
|
|
AND dict.`name` = 'device_type' |
|
|
|
LEFT JOIN sys_dict_detail dict2 ON dict2.value = d.region |
|
|
|
AND dict2.`name` = 'region_type' |
|
|
|
LEFT JOIN sys_dict_detail dict3 ON dict3.value = d.is_config |
|
|
|
AND dict3.`name` = 'is_config' |
|
|
|
WHERE |
|
|
|
is_delete = '0' |
|
|
|
OPTION 输入.blurry <> "" |
|
|
@ -67,6 +71,9 @@ |
|
|
|
OPTION 输入.device_type <> "" |
|
|
|
d.device_type = 输入.device_type |
|
|
|
ENDOPTION |
|
|
|
OPTION 输入.is_config <> "" |
|
|
|
d.is_config = 输入.is_config |
|
|
|
ENDOPTION |
|
|
|
ENDSELECT |
|
|
|
ENDPAGEQUERY |
|
|
|
ENDIF |
|
|
|