Compare commits
4 Commits
631ee1170d
...
43ebc2babb
Author | SHA1 | Date |
---|---|---|
Kane Wang | 43ebc2babb | |
Kane Wang | 0184cbf2d5 | |
Kane Wang | 9420e96539 | |
Kane Wang | 5faf939c89 |
|
@ -15,6 +15,12 @@ CREATE OR REPLACE PACKAGE telsale_archievement_pkg IS
|
||||||
a_mensual_cur OUT cur_type
|
a_mensual_cur OUT cur_type
|
||||||
);
|
);
|
||||||
|
|
||||||
|
PROCEDURE caller_arch_ranking_list
|
||||||
|
(
|
||||||
|
a_department_code IN VARCHAR2,
|
||||||
|
a_chefei_ranking_list OUT cur_type
|
||||||
|
);
|
||||||
|
|
||||||
END telsale_archievement_pkg;
|
END telsale_archievement_pkg;
|
||||||
/
|
/
|
||||||
CREATE OR REPLACE PACKAGE BODY telsale_archievement_pkg IS
|
CREATE OR REPLACE PACKAGE BODY telsale_archievement_pkg IS
|
||||||
|
@ -93,6 +99,30 @@ CREATE OR REPLACE PACKAGE BODY telsale_archievement_pkg IS
|
||||||
ORDER BY cf.Ô·Ý;
|
ORDER BY cf.Ô·Ý;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
|
PROCEDURE caller_arch_ranking_list
|
||||||
|
(
|
||||||
|
a_department_code IN VARCHAR2,
|
||||||
|
a_chefei_ranking_list OUT cur_type
|
||||||
|
) IS
|
||||||
|
l_current_month VARCHAR2(10);
|
||||||
|
BEGIN
|
||||||
|
l_current_month := to_char(SYSDATE,
|
||||||
|
'mm') || '月';
|
||||||
|
|
||||||
|
OPEN a_chefei_ranking_list FOR
|
||||||
|
SELECT 坐席名称,
|
||||||
|
round(SUM(车非融合保费) / SUM(车险个人客户保费) * 100,
|
||||||
|
2) 车非渗透率
|
||||||
|
FROM 车非每日保费
|
||||||
|
WHERE 月份 = l_current_month
|
||||||
|
AND 部门代码 = a_department_code
|
||||||
|
GROUP BY 月份,
|
||||||
|
部门代码,
|
||||||
|
坐席名称
|
||||||
|
HAVING 月份 = '06月'
|
||||||
|
ORDER BY 车非渗透率 DESC;
|
||||||
|
END;
|
||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
NULL;
|
NULL;
|
||||||
END telsale_archievement_pkg;
|
END telsale_archievement_pkg;
|
||||||
|
|
|
@ -39,3 +39,28 @@ SELECT
|
||||||
0) || '%' ミ<EFBFBD>」ツハ
|
0) || '%' ミ<EFBFBD>」ツハ
|
||||||
FROM ラ<EFBFBD>ッミ<EFBFBD>」ヘウシニ
|
FROM ラ<EFBFBD>ッミ<EFBFBD>」ヘウシニ
|
||||||
GROUP BY イソテナ;
|
GROUP BY イソテナ;
|
||||||
|
|
||||||
|
--车非个人每月业绩
|
||||||
|
SELECT 月份,
|
||||||
|
部门代码,
|
||||||
|
坐席名称,
|
||||||
|
SUM(车险个人客户保费),
|
||||||
|
SUM(车非融合保费),
|
||||||
|
round(SUM(车非融合保费) / SUM(车险个人客户保费) * 100,
|
||||||
|
2) 车非渗透率
|
||||||
|
FROM 车非每日保费
|
||||||
|
GROUP BY 月份,
|
||||||
|
部门代码,
|
||||||
|
坐席名称
|
||||||
|
HAVING 月份 = '06月'
|
||||||
|
ORDER BY 部门代码,
|
||||||
|
车非渗透率 DESC;
|
||||||
|
|
||||||
|
SELECT 坐席名称,
|
||||||
|
round(SUM(车非融合保费) / SUM(车险个人客户保费) * 100,
|
||||||
|
2) 车非渗透率
|
||||||
|
FROM 车非每日保费
|
||||||
|
WHERE 部门代码 = 'QDI'
|
||||||
|
AND 月份 = '06月'
|
||||||
|
GROUP BY 坐席名称
|
||||||
|
ORDER BY 车非渗透率 DESC;
|
||||||
|
|
|
@ -8,6 +8,6 @@
|
||||||
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
* Copyright (c) ${2022} by Kane, All Rights Reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// import { loginTestCaller } from "./requestTest.js";
|
import { testNewCitizen } from "./identify.js";
|
||||||
|
|
||||||
// loginTestCaller();
|
testNewCitizen();
|
||||||
|
|
|
@ -78,4 +78,10 @@ public class ArchievementQueryController
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@RequestMapping("/query_ranking_list.do")
|
||||||
|
public void queryCallerArchievementRankingList( )
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue