desktop_task_schedule/code/db/pkg/TELSALER_TWR_UTILS.pck

29 lines
571 B
Plaintext

CREATE OR REPLACE PACKAGE TELSALER_TWR_UTILS IS
-- Author : KANE
-- Created : 2023/12/19 16:27:20
-- Purpose : twr数据报表相关的工具函数
PROCEDURE 清理TWR坐席清单;
PROCEDURE 清理TWR团队清单;
END TELSALER_TWR_UTILS;
/
CREATE OR REPLACE PACKAGE BODY TELSALER_TWR_UTILS IS
PROCEDURE 清理TWR坐席清单 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table twr_telsaler_dev';
END;
PROCEDURE 清理TWR团队清单 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table twr_telsaler_team_dev';
END;
BEGIN
NULL;
END TELSALER_TWR_UTILS;
/