保存进度!
This commit is contained in:
parent
0184cbf2d5
commit
43ebc2babb
|
@ -17,8 +17,8 @@ CREATE OR REPLACE PACKAGE telsale_archievement_pkg IS
|
||||||
|
|
||||||
PROCEDURE caller_arch_ranking_list
|
PROCEDURE caller_arch_ranking_list
|
||||||
(
|
(
|
||||||
a_department_code IN VARCHAR2,
|
a_department_code IN VARCHAR2,
|
||||||
a_ranking_list OUT cur_type
|
a_chefei_ranking_list OUT cur_type
|
||||||
);
|
);
|
||||||
|
|
||||||
END telsale_archievement_pkg;
|
END telsale_archievement_pkg;
|
||||||
|
@ -101,15 +101,15 @@ CREATE OR REPLACE PACKAGE BODY telsale_archievement_pkg IS
|
||||||
|
|
||||||
PROCEDURE caller_arch_ranking_list
|
PROCEDURE caller_arch_ranking_list
|
||||||
(
|
(
|
||||||
a_department_code IN VARCHAR2,
|
a_department_code IN VARCHAR2,
|
||||||
a_ranking_list OUT cur_type
|
a_chefei_ranking_list OUT cur_type
|
||||||
) IS
|
) IS
|
||||||
l_current_month VARCHAR2(10);
|
l_current_month VARCHAR2(10);
|
||||||
BEGIN
|
BEGIN
|
||||||
l_current_month := to_char(SYSDATE,
|
l_current_month := to_char(SYSDATE,
|
||||||
'mm') || '月';
|
'mm') || '月';
|
||||||
|
|
||||||
OPEN a_ranking_list FOR
|
OPEN a_chefei_ranking_list FOR
|
||||||
SELECT 坐席名称,
|
SELECT 坐席名称,
|
||||||
round(SUM(车非融合保费) / SUM(车险个人客户保费) * 100,
|
round(SUM(车非融合保费) / SUM(车险个人客户保费) * 100,
|
||||||
2) 车非渗透率
|
2) 车非渗透率
|
||||||
|
|
Loading…
Reference in New Issue