desktop_task_schedule/code/db/pkg/telsale_bi_utils.pck

37 lines
804 B
Plaintext

CREATE OR REPLACE PACKAGE telsale_bi_utils IS
-- Author : WANGWEI-202
-- Created : 2023/10/12 15:31:13
-- Purpose : bi数据报表相关的工具
PROCEDURE 清理BI电销坐席车非渗透统计表;
PROCEDURE 清理BI电销坐席续保率统计表;
PROCEDURE 清理BI部门业绩统计表;
END telsale_bi_utils;
/
CREATE OR REPLACE PACKAGE BODY telsale_bi_utils IS
PROCEDURE 清理BI电销坐席车非渗透统计表 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table BI电销坐席车非渗透统计表';
END;
PROCEDURE 清理BI电销坐席续保率统计表 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table BI坐席续保率统计表';
END;
PROCEDURE 清理BI部门业绩统计表 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table BI部门渗透率续保率统计表';
END;
BEGIN
-- Initialization
NULL;
END telsale_bi_utils;
/