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');
|