desktop_task_schedule/code/db/pkg/telsale_bi_utils.pck

44 lines
982 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部门渗透率跟踪表;
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;
PROCEDURE 清理BI部门续保率跟踪表 IS
BEGIN
EXECUTE IMMEDIATE 'truncate table BI机构当月个车续保率跟踪表';
END;
BEGIN
-- Initialization
NULL;
END telsale_bi_utils;
/