add workflow 天润Smart-ccc会话数据,dev
This commit is contained in:
parent
158fa1f89b
commit
ebf94c10a7
|
@ -4,7 +4,7 @@
|
|||
/*Brilliance stems from wisdoms. */
|
||||
/*************Head Section**************************************************************************/
|
||||
/*Script Use: Periodically load data to :t01_ccc_chat_record(smartccc会话记录) */
|
||||
/*Create Date:2025-02-10 12:20:26 */
|
||||
/*Create Date:2025-02-10 12:43:51 */
|
||||
/*SDM Developed By: dev */
|
||||
/*SDM Developed Date: 2024-07-18 */
|
||||
/*SDM Checked By: dev */
|
||||
|
@ -119,8 +119,10 @@ SELECT
|
|||
,0 /*first_response_duration*/
|
||||
,to_timestamp(p0.start_time::bigint)::timestamp(0) /*start_time*/
|
||||
,to_timestamp(p0.end_time::bigint)::timestamp(0) /*end_time*/
|
||||
,COALESCE(CAST(p0.queue_duration AS int),0) /*queue_time*/
|
||||
,0 /*join_queue_time*/
|
||||
,EXTRACT(HOUR FROM queue_duration_pretty::time) * 3600 +
|
||||
EXTRACT(MINUTE FROM queue_duration_pretty::time) * 60 +
|
||||
EXTRACT(SECOND FROM queue_duration_pretty::time) /*queue_time*/
|
||||
,to_timestamp(p0.start_time::bigint)::timestamp(0) /*join_queue_time*/
|
||||
,to_timestamp(p0.start_time::bigint)::timestamp(0) /*bridge_time*/
|
||||
,COALESCE(TRIM(CAST(p0.session_tags AS varchar(10))),'') /*session_type*/
|
||||
,COALESCE(TRIM(CAST(p0.is_valid_name AS varchar(10))),'') /*chat_valid_session*/
|
||||
|
|
Loading…
Reference in New Issue