《个贷管理结构》doc版.doc_第1页
《个贷管理结构》doc版.doc_第2页
《个贷管理结构》doc版.doc_第3页
《个贷管理结构》doc版.doc_第4页
《个贷管理结构》doc版.doc_第5页
已阅读5页,还剩60页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

/* PROGRAM: 2insttbs.txt * AUTHOR: szx * WRITE DATE: 08/09/2000 * LAST MODIFY DATE: 08/09/2000 * COMMENT: 信雅达个人消费信贷系统 V1.01 * (FOR SYBASE 11) 数据表文本主机 * (交总行统一版本) */* 1 系统参数 sys_ref 2. 贷款支行参数表 credit_ref 3. 支行操作员表 oper_ref 4. 贷款业务种类表 class_ref 5. 贷款支行业务开办表 open_ref 6. 货币参数表 currency_ref 7. 贷款利率表 rate_ref 8. 浮动利率选择表 rate_select 9. 利率优惠表 favorate_ref 10. 逾期利率表 rate_exceed 11. 业务审批权限表 examine_class 12. 保险公司审批权限表 examine_insurer 13. 合作商审批权限表 examine_mer 14. 顶级信用权重参数表 height_1st 15. 二级信用权重参数表 height_2nd 16. 选择代码配置表 code_cfg 17. 选择代码表 code_ref 18. 信用等级额度表 credit_level 19. 贷款分析金额区间表 analy_amt 20. 查询期限区间表 inq_term 21. 通讯路由表 route_ref 22. 返回代码参数表 retcode_ref 23. 返回代码转换表 retcode_chg 24. 交易代码表 trans_ref 25. 交易代码转换表 trans_chg 26. 当日日志表 day_log 27. 历史日志表 hist_log 28. 当日交易表 day_tran 29. 历史交易表 hist_tran 30. 合作商信息表 mer_ref 31. 投资构成表 invest_ref 32. 重大事件表 event_ref 33. 违规记录表 offend_ref 34. 财务信息表 finance_ref 35. 社会信用表 assess_ref 36. 合作商合作项目表 cooperate_ref 37. 保险公司表 insurer_ref 38. 保险公司辅助信息表 insurer_note 39. 个人信息表 person_ref 40. 配偶信息表 spouse_ref 41. 借款人表 client_ref 42. 保证人信息表 assure_ref 43. 抵押物信息表 pledge_ref 44. 质押物信息表 impawn_ref 45. 借款人分户明细表 client_list 46. 借款人分户明细逾期表 exceed_list 47. 借款人分户明细临时表 temp_list 48. 批量扣款结果表 devolve_ref 49. 日报 report_day 50. 月报 report_month 51. 贷款质量指标月报 quality_month 52. 季报 report_season 53. 半年报 report_half 54. 年报 report_year 55. 贷款质量指标年报 quality_year 56. 会计科目表 subject_ref 57. 扣款成功文件表 success_file 58. 计提利息文件表 interest_file 59. 转逾期、呆滞、呆帐文件表 change_file 60. 开户成功文件表 open_file 61. 提前还款成功文件表 front_file 62. 五级分类月报 five_month 63. 利率浮动控制表 rate_control 64. 贷款合同号表 bargain_ref 65. 代保管信息文件表 kpvlt_file 66. 手工转呆帐文件表 result_file 67. 贷款用户临时利率表 temp_rate*/use pcsmaingo/* 1 系统参数 sys_ref 字段名 数据类型 说明 */print 1 系统参数 sys_refgocreate table sys_ref ( sysname varchar(40), /* 系统名称 */ syskey char(16), /* 系统序列号 */ bankno char(3), /* 分行号码 */ bankname varchar(40), /* 分行名称 */ status tinyint, /* 系统状态 */ serialno int, /* 系统流水号 */ duebillser int, /* 借据流水号 */ examineser int, /* 审批流水号 */ initdate int, /* 初始化日期 */ ratechange tinyint, /* 利率更改标志 */ endstatus tinyint, /* 日终处理状态 */ predate int, /* 上次结转日期 */ exceedrate float, /* 逾期日利率 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作 插入:系统安装时,自动插入一条记录 修改: (2) 系统状态:status 0:禁止 1:正常 (3) 利率更该标志:ratechange 0:不需更改利率 1:需更改贷款利率 2:不能更改利率(存在展期、提前还款等需修改明细的情况下) (4) 日终处理状态:endstatus 0:正常 1:系统关闭 2:数据备份 3: (5) 逾期日利率:exceedrate 存放最新一天更改的逾期利率,当传送到零售主机后即更新为零*/ create unique index sys_ref_ind1 on sys_ref(bankno) on sindexgogrant select on sys_ref to publicgo/* 2. 贷款支行参数表 credit_ref 字段名 数据类型 说明 */print 2. 贷款支行参数表 credit_refgocreate table credit_ref ( creditno char(3), /* 贷款行号 */ creditlevel tinyint, /* 贷款行级别 */ name varchar(40) null, /* 贷款行名称 */ address varchar(40) null, /* 贷款行地址 */ zip char(6) null, /* 邮编 */ linkman varchar(20) null, /* 联系人 */ tel varchar(18) null, /* 联系人电话号码 */ downloadflag tinyint, /* 下传标志 */ bargainnoser int, /* 合同流水号 */ mernoser int, /* 合作商顺序号 */ insideno int, /* 内部编号 */ appointdate tinyint, /* 指定还款日期 */ masterkey char(16) null, /* 交易主键 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入一分行信息,分行号为001 (2) 下传标志:downloadflag 0:不需下传 1:需部分下传 2:需全部下传 (3) 贷款行级别:creditlevel 0:储蓄所 1:贷款支行 2:分行*/create unique index credit_ref_ind1 on credit_ref(creditno) on sindexgogrant select on credit_ref to publicgo/* 3. 支行操作员表 oper_ref 字段名 数据类型 说明 */print 3. 支行操作员表 oper_refgocreate table oper_ref ( creditno char(3), /* 贷款行号 */ operno char(5), /* 操作员号 */ opername varchar(20), /* 操作员姓名 */ operlevel tinyint, /* 操作员级别 */ operpwd char(16), /* 操作员密码 */ operstatus tinyint, /* 操作员状态 */ opendate int, /* 开通日期 */ stopdate int, /* 注销日期 */ logindate int, /* 签到日期 */ masterkey char(16), /* 主密钥 */ downloadflag tinyint, /* 下传标志 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入分行管理员88888,所有新增加操作员密码为888888 (2) 操作员级别:operlevel 0:系统管理员,允许管理类操作 1:普通操作员,允许查询、统计、分析、咨询、打印类操作 2:信贷员,允许接受贷款申请、合作商调查、一般操作 3:信贷科长,允许进行审查 4:支行行长,允许进行审批 5:分行领导,允许进行分行审批 (3) 下传标志:downloadflag 0:不需下传 1:需部分下传 2:需全部下传 (4) 操作员状态:operstatus 0:正常 1:签到 2:签退 3:注销*/-create unique index oper_ref_ind1 on oper_ref(creditno,operno) on sindexcreate unique index oper_ref_ind1 on oper_ref(operno) on sindexgogrant select on oper_ref to publicgo/* 4. 贷款业务种类表 class_ref 字段名 数据类型 说明 */print 4. 贷款业务种类表 class_refgocreate table class_ref ( classno tinyint, /* 贷款业务号 */ classattr tinyint, /* 业务属性 */ classname varchar(30), /* 业务名称 */ creditmax float, /* 最高贷款额 */ creditmin float, /* 最低贷款额 */ termmax smallint, /* 最长贷款期限 */ termmin smallint, /* 最短贷款期限 */ extendday tinyint, /* 还款宽限天数 */ proportion tinyint, /* 最高贷款比例 */ adjustflag tinyint, /* 利率调整标志 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入准备开展的所有贷款业务项 (2) 业务属性:classattr 0:住房贷款 1:汽车贷款 2:耐用消费品贷款 3:旅游贷款 4:助学贷款 5:其他 /* 0:房产商 1:汽车经销商 2:百货商场 3:学校 4:旅行社 5:医院 6:其他 */ (3) 最高贷款比例:proportion 表示百分之几() (4) 贷款业务号:classno 10:个人住房贷款 11:住房装修贷款 20:汽车消费贷款 21:汽车大修贷款 30:个人住学贷款 40:个人旅游贷款 50:个人耐用消费品贷款 60:个人医疗贷款 70:个人理财贷款 80:个人小额抵押贷款 (5) 利率调整标志:adjustflag 0:年初调整 1:满整年调整 2:不调整*/create unique index class_ref_ind1 on class_ref(classno) on sindexgogrant select on class_ref to publicgo/* 5. 贷款支行业务开办表 open_ref 字段名 数据类型 说明 */print 5. 贷款支行业务开办表 open_refgocreate table open_ref ( creditno char(3), /* 贷款支行号 */ classno tinyint, /* 贷款业务号 */ bargainnoser int, /* 合同顺序号 */ openflag tinyint, /* 开办标志 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,自动插入各贷款支行的业务开办情况 (2) 开办标志:openflag 0:禁止 1:允许*/create unique index open_ref_ind1 on open_ref(creditno,classno) on sindexgogrant select on open_ref to publicgo/* 6. 货币参数表 currency_ref 字段名 数据类型 说明 */print 6. 货币参数表 currency_refgocreate table currency_ref ( currencyno tinyint, /* 币种号 */ currencyname varchar(18), /* 币种名称 */ pledgeproportion float, /* 抵押率 */ useflag tinyint, /* 使用标志 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入允许使用的币种 (2) 币种号:currencyno 01:人民币 12:英镑 13:港币 14:美元 16:德国马克 17:法国法郎 18:新加坡元 27:日元 28:加拿大元 29:澳大利亚元 38:欧元 (3) 使用标志:useflag 0:否 1:是*/create unique index currency_ref_ind1 on currency_ref(currencyno) on sindexgogrant select on currency_ref to publicgo/* 7. 贷款利率表 rate_ref 字段名 数据类型 说明 */print 7. 贷款利率表 rate_refgocreate table rate_ref ( rateno tinyint, /* 利率号 */ ratename varchar(40) null, /* 利率名称 */ startdate int, /* 利率起用日期 */ inputdate int, /* 利率输入日期 */ term smallint, /* 使用期限 */ currencyno tinyint, /* 币种 */ rate float, /* 月利率 */ status tinyint, /* 使用状态 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入初始利率表 (2) 利率号:rateno 与classno对应 (3) 使用状态:status 0:否 1:是 (4) 使用期限:term 以月为单位*/create unique index rate_ref_ind1 on rate_ref(rateno,startdate,currencyno,term) on sindexgogrant select on rate_ref to publicgo/* 8. 浮动利率选择表 rate_select 字段名 数据类型 说明 */print 8. 浮动利率选择表 rate_selectgocreate table rate_select ( indexno tinyint, /* 利率调整索引号 */ mean varchar(40), /* 利率调整含义 */ proportion float, /* 调整比例 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,自动插入调整选项 (2) 利率调整索引号:indexno 0:不调整 1:下调10 2:上浮10 3:上浮20 4:上浮30 对应比例分别为:0、-0.1、0.1、0.2、0.3*/create unique index rate_select_ind1 on rate_select(indexno) on sindexgogrant select on rate_select to publicgo/* 9. 利率优惠表 favorate_ref 字段名 数据类型 说明 */print 9. 利率优惠表 favorate_refgocreate table favorate_ref ( personid varchar(18), /* 身份证 */ name varchar(20), /* 姓名 */ account varchar(22), /* 帐号 */ type tinyint, /* 标志 */ classno tinyint, /* 贷款业务类型 */ dot float, /* 优惠点数 */ opendate int, /* 插入日期 */ operno char(5), /* 插入操作员号 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 优惠标志:type 0:不优惠 1:给予优惠 2:黑名单*/create unique index favorate_ref_ind1 on favorate_ref(personid,name,classno) on sindexgogrant select on favorate_ref to publicgo/* 10. 逾期利率表 rate_exceed 字段名 数据类型 说明 */print 10. 逾期利率表 rate_exceedgocreate table rate_exceed ( indexno tinyint, /* 逾期利率索引号 */ mean varchar(40), /* 逾期利率含义 */ rate float, /* 逾期日利率 */ inputdate int, /* 输入日期 */ inputoper char(5), /* 输入操作员号 */ startdate int, /* 起用日期 */ useflag tinyint, /* 使用标志 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统安装时,插入当前使用的逾期利率 (2) 逾期利率索引号:indexno 0:逾期息利率 1:挪用息利率 (3) 逾期日利率:rate 以上利率均以日为单位,表示万分之几() (4) 使用标志:useflag 0:否 1:是*/create unique index rate_exceed_ind1 on rate_exceed(indexno) on sindexgogrant select on rate_exceed to publicgo/* 11. 业务审批权限表 examine_class 字段名 数据类型 说明 */print 11. 业务审批权限表 examine_classgocreate table examine_class ( creditno char(3), /* 贷款行号 */ classno tinyint, /* 贷款业务号 */ operno char(5), /* 操作员号 */ maxamount float, /* 最高审批权限金额 */ examinemode tinyint, /* 审批方式 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统增加操作员时,应插入相应的审批权限数据 (2) 审批方式:examinemode 0:以审批最高金额为准 1:审批同意上报 2:所有审批上报 3:审批同意通过 4:即时通过*/create unique index examine_class_ind1 on examine_class(creditno,operno,classno) on sindexgogrant select on examine_class to publicgo/* 12. 保险公司审批权限表 examine_insurer 字段名 数据类型 说明 */print 12. 保险公司审批权限表 examine_insurergocreate table examine_insurer ( creditno char(3), /* 贷款行号 */ operno char(5), /* 操作员号 */ examinemode tinyint, /* 审批方式 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统增加操作员时,应插入相应的审批权限数据 (2) 审批方式:examinemode 0:审批同意上报 1:所有审批上报 2:审批同意通过 3:即时通过*/create unique index examine_insurer_ind1 on examine_insurer(creditno,operno) on sindexgogrant select on examine_insurer to publicgo/* 13. 合作商审批权限表 examine_mer 字段名 数据类型 说明 */print 13. 合作商审批权限表 examine_mergocreate table examine_mer ( creditno char(3), /* 贷款行号 */ merattr tinyint, /* 合作商属性 */ operno char(5), /* 操作员号 */ maxamount float, /* 最高审批权限金额 */ examinemode tinyint, /* 审批方式 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作: 插入:系统增加操作员时,应插入相应的审批权限数据 (2) 审批方式: 0:以审批最高金额为准 1:审批同意上报 2:所有审批上报 3:审批同意通过 4:既时通过*/create unique index examine_mer_ind1 on examine_mer(creditno,operno,merattr) on sindexgogrant select on examine_mer to publicgo/* 14. 顶级信用权重参数表 height_1st 字段名 数据类型 说明 */print 14. 顶级信用权重参数表 height_1stgocreate table height_1st ( type tinyint, /* 顶层评判参数序号 */ mean varchar(20), /* 顶层评判参数含义 */ height tinyint, /* 顶层评判参数权重 */ note varchar(255) null /* 备注 */) on sdatago/* (1) 操作 插入:系统安装时,自动插入数据 (2) 权重:height 各参数权重之和为100 (3) 序号含义:type 0:保障支持

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论