开始开发车非渗透率BI表导入功能。

加入一些测试用数据文件。
This commit is contained in:
2023-10-08 18:20:48 +08:00
parent e5dfb45c79
commit 041ec287b9
9 changed files with 289 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
-- Create table
create table
(
summary_date DATE default sysdate not null,
telsaler_name VARCHAR2(20) not null,
moto_premium NUMBER default 0 not null,
nomoto_premium NUMBER default 0 not null,
moto_premium_proportion NUMBER default 0 not null,
attaching_rate NUMBER default 0 not null,
attaching_rate_change NUMBER default 0 not null
)
tablespace DESKTOP_ARCHIEVEMENT
pctfree 10
initrans 1
maxtrans 255;
-- Add comments to the table
comment on table
is '用于存放BI导出每日电销坐席车险非车险保费和车非渗透率数据。';
-- Add comments to the columns
comment on column .summary_date
is '统计日期';
comment on column .telsaler_name
is '坐席名称';
comment on column .moto_premium
is '车险保费';
comment on column .nomoto_premium
is '非车险保费';
comment on column .moto_premium_proportion
is '车险保费占比';
comment on column .attaching_rate
is '渗透率';
comment on column .attaching_rate_change
is '渗透率环比上月';