#
Junjie
3 天以前 1b8a4677f362d234d834120deac4880d7ae89a50
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
UPDATE `sys_ai_prompt_block`
SET `content` = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
    REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(`content`,
        'wcs_local_task_query', '__TMP_WCS_LOCAL_TASK_QUERY__'),
        'wcs_local_device_get_crn_status', '__TMP_WCS_LOCAL_DEVICE_GET_CRN_STATUS__'),
        'wcs_local_device_get_station_status', '__TMP_WCS_LOCAL_DEVICE_GET_STATION_STATUS__'),
        'wcs_local_device_get_rgv_status', '__TMP_WCS_LOCAL_DEVICE_GET_RGV_STATUS__'),
        'wcs_local_log_query', '__TMP_WCS_LOCAL_LOG_QUERY__'),
        'wcs_local_config_get_device_config', '__TMP_WCS_LOCAL_CONFIG_GET_DEVICE_CONFIG__'),
        'wcs_local_config_get_system_config', '__TMP_WCS_LOCAL_CONFIG_GET_SYSTEM_CONFIG__'),
        'task_query', 'wcs_local_task_query'),
        'device_get_crn_status', 'wcs_local_device_get_crn_status'),
        'device_get_station_status', 'wcs_local_device_get_station_status'),
        'device_get_rgv_status', 'wcs_local_device_get_rgv_status'),
        'log_query', 'wcs_local_log_query'),
        'config_get_device_config', 'wcs_local_config_get_device_config'),
        'config_get_system_config', 'wcs_local_config_get_system_config');
 
UPDATE `sys_ai_prompt_block`
SET `content` = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(`content`,
        '__TMP_WCS_LOCAL_TASK_QUERY__', 'wcs_local_task_query'),
        '__TMP_WCS_LOCAL_DEVICE_GET_CRN_STATUS__', 'wcs_local_device_get_crn_status'),
        '__TMP_WCS_LOCAL_DEVICE_GET_STATION_STATUS__', 'wcs_local_device_get_station_status'),
        '__TMP_WCS_LOCAL_DEVICE_GET_RGV_STATUS__', 'wcs_local_device_get_rgv_status'),
        '__TMP_WCS_LOCAL_LOG_QUERY__', 'wcs_local_log_query'),
        '__TMP_WCS_LOCAL_CONFIG_GET_DEVICE_CONFIG__', 'wcs_local_config_get_device_config'),
        '__TMP_WCS_LOCAL_CONFIG_GET_SYSTEM_CONFIG__', 'wcs_local_config_get_system_config');
 
UPDATE `sys_ai_prompt_template`
SET `content` = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
    REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(`content`,
        'wcs_local_task_query', '__TMP_WCS_LOCAL_TASK_QUERY__'),
        'wcs_local_device_get_crn_status', '__TMP_WCS_LOCAL_DEVICE_GET_CRN_STATUS__'),
        'wcs_local_device_get_station_status', '__TMP_WCS_LOCAL_DEVICE_GET_STATION_STATUS__'),
        'wcs_local_device_get_rgv_status', '__TMP_WCS_LOCAL_DEVICE_GET_RGV_STATUS__'),
        'wcs_local_log_query', '__TMP_WCS_LOCAL_LOG_QUERY__'),
        'wcs_local_config_get_device_config', '__TMP_WCS_LOCAL_CONFIG_GET_DEVICE_CONFIG__'),
        'wcs_local_config_get_system_config', '__TMP_WCS_LOCAL_CONFIG_GET_SYSTEM_CONFIG__'),
        'task_query', 'wcs_local_task_query'),
        'device_get_crn_status', 'wcs_local_device_get_crn_status'),
        'device_get_station_status', 'wcs_local_device_get_station_status'),
        'device_get_rgv_status', 'wcs_local_device_get_rgv_status'),
        'log_query', 'wcs_local_log_query'),
        'config_get_device_config', 'wcs_local_config_get_device_config'),
        'config_get_system_config', 'wcs_local_config_get_system_config');
 
UPDATE `sys_ai_prompt_template`
SET `content` = REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(`content`,
        '__TMP_WCS_LOCAL_TASK_QUERY__', 'wcs_local_task_query'),
        '__TMP_WCS_LOCAL_DEVICE_GET_CRN_STATUS__', 'wcs_local_device_get_crn_status'),
        '__TMP_WCS_LOCAL_DEVICE_GET_STATION_STATUS__', 'wcs_local_device_get_station_status'),
        '__TMP_WCS_LOCAL_DEVICE_GET_RGV_STATUS__', 'wcs_local_device_get_rgv_status'),
        '__TMP_WCS_LOCAL_LOG_QUERY__', 'wcs_local_log_query'),
        '__TMP_WCS_LOCAL_CONFIG_GET_DEVICE_CONFIG__', 'wcs_local_config_get_device_config'),
        '__TMP_WCS_LOCAL_CONFIG_GET_SYSTEM_CONFIG__', 'wcs_local_config_get_system_config');