文档详情

CRM基础业务知识.doc

发布:2017-05-15约9.79千字共13页下载文档
文本预览下载声明
一、三户模型 1.1客户 账户 客户 select * from cust_551 where cust_id=55190290682; 字段:group_cust_seq 集团客户标识 1.2参与人表(tb_pty_pty) select * from tb_pty_pty_550; select * from tb_pty_pty_550 where pty_id=55000020370; 字段 PARTY_ID:参与人标识;PARTY_TYPE:参与人类型(个人、组织);STATUS_CD:参与人状态; 1.3参与人角色(tb_pty_pty_role) select * from tb_pty_pty_role_550; select * from tb_pty_pty_role_550 where pty_id=55000020370; 字段 PARTY_ROLE_ID:参与人角色标识;PARTY_ID:参与人标识(外键);ROLE_TYPE:参与人角色类型(客户、员工、合作伙伴、竞争对手、会员、俱乐部等); 参与人角色表在实际应用中没有被用到。 1.4 参与人证件表( party_centification) select * from party_centification; select * from party_centification where party_id=55000020370; select * from tb_pty_pty_certif; select * from tb_pty_pty_certif where pty_id=55101198301; 字段 certi_type_id:证件类型(身份证、军官证等); 参与人证件表与客户证件表(tb_pty_pty_certif)是一样的,表中信息同步进行更新,使用情况:客户证件表 1.5客户密码(认证)表(cust_certification) 电信用于确认客户接入电信系统的身份和权限信息 select * from cust_551 where cust_id=55100086264; select * from cust_certification_551; select * from cust_certification_551 where cust_id=55100086264; 1.6 客户联系人(tb_pty_pty_contact) select * from tb_pty_pty_contact_551; select * from tb_pty_pty_contact_551 where party_id=55601849743; ***客户表和客户联系人表之间也可以通过参与人ID(party_id)进行连接 1.7 集团客户与省对应关系(tb_pty_cust_map_htop) select * from tb_pty_cust_map_htop; select * from tb_pty_cust_map_htop where cust_id=55001467792; 表中的信息是:集团客户(在集团页面办理业务的客户) 客户表中的字段GROUP_CUST_SEQ与集团客户表中的字段JTCRMID是一样的。 select * from cust_550 a,tb_pty_cust_map_htop b where a.group_cust_seq=b.jtcrmid and rownum5 三、账户域 1.1 账户表(account_551) select * from account_551; select t.*, t.rowid from account_551 t; select t.*, t.rowid from account_551 t where t.cust_id=29015508813; 1.2集团账户与省账户对应关系(tb_pty_acct_map ) select * from tb_pty_acct_map; select * from tb_pty_acct_map where crm_acct_id=2286; 与集团客户与省对应的关系是一样的。 1.3账户支付方案(payment_plan_551) select * from payment_plan_551; select * from payment_plan_551 where account_id=5788; select * from payment_method;(规格表) 字段payment_mehtod_id:支付方案(现金、网银等);ext_payment_plan_id:集团支付方案标识。注:前缀为EXT和JT的都
显示全部
相似文档