
(新编)系数设置表结构.doc
2页风险等级表create table s_risk(iscCode varchar2(10) not null, /*险种类别代码 */riskCode varchar2(20) not null, /*风险等级代码 */riskRate float default 1.0, /*风险等级系数 */constraint PK_risk primary key(iscCode,riskCode)/*联合主键 */)--代码配置表create table s_config(preCode varchar210) not null, /*主键 */typecode varchar23) not null, /*代码类型 */flag varchar2(4), /*标志 ,分车险与非车险,车险 D,非车险 H*/constraint PK_config_precode primary key(preCode),constraint FK_config_typecode foreign key(typecode) references s_codetype(typecode))--地区因子表create table s_Branch_Coeff(branchNo varchar2(10) not null, /*中支机构代码 */areaRate float default 1.0, /*地区因子 */constraint PK_Branch_Coeff primary key(branchNo) /*主键 */)--险种系数表create table s_Insurance_Coeff(isccode varchar(10) not null, /*险种代码 */iscRate float , /*险种系数 */constraint PK_Insurance_Coeff primary key(isccode))--渠道因子表create table s_Channel_Coeff(salesOrigin varchar2(10) not null,/*业务来源代码 */channelRate float, /*渠道因子 */constraint PK_Channel_Coeff primary key(salesOrigin))--提奖系数表create table s_Bonus_Coeff(bonusRate float default 1, /*提奖系数 */constraint PK_Bonus_Coeff primary key(bonusRate) )Ps:1. 车险和非车险的风险等级都放在 s_risk 表中,isccode 由原先的险种代码改为险种类型代码。
2. 车险非车险的风险等级标志在 s_codetype 表中,如下图:S_code 表中放入详细的风险等级信息3. s_config 表,配置类型代码属于什么险类。
