房地产销售管理系统方案_第1页
房地产销售管理系统方案_第2页
房地产销售管理系统方案_第3页
房地产销售管理系统方案_第4页
房地产销售管理系统方案_第5页
免费预览已结束,剩余17页可下载查看

下载本文档

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

文档简介

1、组员:房地产销售管理系统房地产销售管理系统1 需求描述1.1 功能需求系统包括五大功能模块:主要功能模块有基本资料、客户管理、房屋销售、收款管理、统计管理等功能模块。1基本资料主要包括楼盘房屋资料、员工资料功能子模块。楼盘房屋资料:主要是登记楼盘和房屋详细信息的管理。员工资料: 可对员工的个人信息情况进行管理、 以及员工的楼盘销售业绩情况。2客户管理是对客户的个人信息情况进行管理。主要包括来访客户资料管理、一般客户资料管理、预订客户资料管理、购房客户资料管理等功能子模块。来访客户资料管理:主要登记来访的客户信息资料,查出潜在的客户。一般客户资料管理:主要登记一般的客户信息资料,查出潜在的客户。

2、预订客户资料管理:主要登记预订的客户信息资料。购房客户资料管理:主要登记购房的客户信息资料。3 房屋销售主要包括房屋销售、 已销售房屋资料、 已预订房屋资料等功能子模块。房屋销售:主要是对房屋进行预订、购买等销售的管理。已销售房屋资料:管理已经销售的房屋信息资料。已预订房屋资料:管理已经预订的房屋信息资料。4 收款管理主要包括未收款管理、 已收款管理、 到期收款提示管理等功能子模块。未收款管理:主要针对已签定合同的房款收款管理。已收款管理:管理已经收款完成的房屋合同信息资料。到期收款提示管理:主要是针对客户分期付款的到期付款的提示功能。5统计管理:包括销售代表销售记录排行、楼盘销售排行统计、收

3、款情况统计等。报表可以根据客户的要求进行设置。1 2 数据分析房地产销售管理系统所用到的数据有:1. 基本资料的输入楼盘房屋资料信息: 楼房号,单元,房号,预测面积,单价,总价,房型,房屋状态。员工资料信息:员工编号,所属部门,性别,年龄,学历,职位,联系。2. 客户管理来访客户信息:客户编号,联系,联系地址。一般客户信息: 客户编号, ,性别,联系,需求面积,需求类型,需求房型,计划付款方式,联系地址,职业,号,单位。预订客户信息:客户编号,客户,楼房号,单元,房号,销售面积,单价,总价,订购日期,代办费用,已付金额。购房客户信息:客户编号, ,性别,年龄,联系,需求面积,需求楼层,需求房型

4、,计划付款方式,联系地址。3. 房屋销售房屋销售信息: 楼房号,单元,房号,销售面积,单价,总价,房屋状态。已销售房屋信息:合同编号,客户,楼房号,单元,房号,销售面积,合同单价,合同总价,订购日期,联系。已预订房屋信息:合同编号,客户,楼房号,单元,房号,销售面积,单价,总价,订购日期,代办费用,已付金额。4. 收款管理未收款管理:合同编号,客户,联系,楼房号,单元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。已收款管理:合同编号,客户,联系,楼房号,单元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。到期收款提示: 合同编号,客户,联系,楼房号,单

5、元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。1 3权限管理1. 管理员在基本资料管理中,要求:a. 可以查询员工、房屋的信息。b. 可以对员工、房屋信息进行修改、添加及删除的操作。2. 管理员在客户管理中,要求:a. 查询各类客户信息,根据客户信息,发现潜在客户。b. 对客户信息进行维护工作,增添、删除相应客户信息。3. 管理员在房屋销售中,要求:a查询未销售、已销售、已预订房屋的信息。b对房屋信息进行维护工作,增添未销售、已销售、已预订的房屋信息。4. 管理员在收款管理中,要求:a. 可以查询已收款、未收款等信息,以及相应的合同。b. 对收款管理进行维护工作,包括增

6、添新收款记录,或删除旧收款记录。2 概念结构设计2 1 E-R 图所要实现的功能设计, 可能建立它们之间的关系, 进而实现逻辑结构功能。房地产销售管理信息系统可以划分的实体有: 员工信息实体、 登记房屋预登记客户信息实体、 预订客户与预订房屋信息实体、 预订记录信息实体、 需求客户与需求房屋信息实体、购买需体、收款记录实体。用 E-R 图一一描述这些实体。2.1.1楼房单元房号信息实体图:2.1.2员工信息实体图:2.1.3登记房屋信息实体图:2.1.4登记客户信息联系图:2.1.5预订客户信息实体图:2.1.6预订房屋实体图:2.1.7预订联系图:2.1.8需求客户信息实体图:联系地址2.1

7、.9需求房屋实体图:2.1.10购买需求联系图:2.1.11收款记录联系图:2.1.12总的信息实体E-R图:3.逻辑结构设计3.1 关系模式关系模型。关系模型主要是用二维表格结构表达实体集,用外键表示实体间联系。关系模型是由若干个关系模式组成的集合。关系模式相当于前面提到的记录类型,它的实例称为关系,每个关系实际上是一二维表格。关系模型和层次、网状模型的最大判别是用关键码而不是用指针导航数据, 表格简单用户易懂,编程时并不涉及存储结构,访问技术等细节。关系模型是数 学化模型。SQM言是关系数据库的标准化语言,已得到了广泛的应用。设计子 系统有一个方便数据库及其应用创建的工具集。它典型地包含产

8、生表、窗体、查 询和报表的工具。DBM货品还提供编程语言和对编程语言的接口。1 .楼房单元房号(楼房号,单元,房号)2 .员工(员工编号,所属部门,性别,年龄,职位,联系)3 .登记房屋(房号,单元,房型,面积,单价,总价)4 .登记客户(需求客户编号,预订客户编号)5 .预订客户(预订客户编号,客户,性别,年龄,职务,号,联系,联系地址, 支付方式)6 .预订房屋(预订合同编号,楼房号,单元,房号,房型,面积,单价,总价, 订购日期,已付金额,未付金额)7 .预订(预订合同编号,预订客户编号)8 .需求客户(需求客户编号,性别,号,联系,联系地址)9 .需求房屋(房屋需求编号,楼房号,单元,

9、房号,房型,面积,单价,总价)10 .购买需求(需求客户编号,房屋需求编号)11 .收款(预订合同编号,预订客户编号)3.2表格表1楼房单元房号(builds)表中列名数据类型大小是否为空楼号(build_id )intnot null(主键)单元(unit_id)intnot null房号(room_id)char4not null表2单元表(unit ):表中列名数据类型大小是否为空单元(unit_id )intnot null(主键)房号(room_id)char4not null表3员工信息(employees)表中列名数据类型大小是否为空员工编号(employee_id)char6n

10、ot null(主键)(employee_name)char15not null所属部门(department_id)char18not null性别(employee_sex)char2null年龄(employee_age)intnull职位(job_id)char15not null联系(phone_number)char12not null表 4 登记房屋(register_room)表中列名数据类型大小是否为空房号(room_id)char4not null(主键)单元(unit_id)intnot null( 外主键)房型(room_type)char10Not null面积(ar

11、ea)floatNot null单价(price)floatNot null总价(total_price)floatNot null表 5 登t己客户(register_customer)表中列名数据类型大小是否为空需求客户编号 (remand_id)char6not null( 外主键)预订客户编号(order_id)char6not null( 外主键)表 6 预订客户(order_customer)表中列名数据类型大小是否为空预订客户编号(order_id)char6not null(主键)客户(order_name)char15not null性另1J (order_sex)char2

12、Not null年龄(order_age)intNot null职务(order_job)char10Not null号(order_ident)char18Not null联系(order_phone)char12Not null联系地址(order_addr)char25Not null支付方式(order_pay)char10Not null表7预订房屋(order_room)表中列名数据类型大小是否为空预订合同编号(contract_id)char6not null(主键)楼号(build_id)intnot null单元(unit_id)intNot null房号(room_id)c

13、har4Not null房型(room_type)char10Not null面积(area)floatNot null单价(price)floatNot null总价(total_price)floatNot null订购日期(order_date)char12Not null已付金额(yifu_money)floatNot null未付金额(weifu_money)floatNot null表8预订(order)表中列名数据类型大小是否为空预订合同编号(contract_id)char6Not null( 外主键)预订客户编号(order_id)char6Not null( 外主键)表 9

14、 需求客户(remand_customer)表中列名数据类型大小是否为空需求客户编号 (remand_id)char6not null(主键)(remand_name)char15Not null性另1J (remand_sex)char2Null号(remand_ident)char18Not null联系(remand_phone)char12Not null联系地址(remand_addr)char25Not null表 10 需求房屋(remand_build)表中列名数据类型大小是否为空房屋需求编号(remand_buildid)char6not null(主键)楼号(build_i

15、d)intnot null单元(unit_id)intNot null房号(room_id)char4Not null房型(room_type)char10Not null面积(area)floatNot null单价(price)floatNot null总价(total_price)floatNot null表11购买需求(remand_buy):表中列名数据类型大小是否为空需求客户编号 (remand_id)char6Not null( 外主键)房屋需求编号(remand_buildid)char6Not null( 外主键)表 12 收款(collection)表中列名数据类型大小是否

16、为空预订合同编号(contract_id)char6Not null( 外主键)预订客户编号(order_id)char6Not null( 外主键)4.数据库实施4. 1数据库建4.1.1创建楼房单元房号表:create table builds(build_id int not null primary key,unit_id int not null,room_id char(4) not null)SQL> create table builds2 <3 build_id int not null prinary key,4 unit_id int not null.5 r

17、oon_id chai*<4> not null6 >7 /表己创建。.4.1.2单元表:create table unit(unit_id int not null primary key, room_id char(4) not null)£QL> create table unit2 <3 unitint not null primary key4 roan_id char<4> not null5 >6 /表已创建,4.1.3员工表:create table employees(employee_id char(6) not n

18、ull primary key, employee_name char(15) not null, employee_sex char(2) not null, employee_age int not null, job_id char(15) not null, department_id char(18) not null, phone_number char(12) not null£QL> create table cnploecs2 <3 employee_id char<6 > not null prinari/ key,4 employee_n

19、ame char<15> not rmlL5 employee_sex char<2 > not null,6 emplo</ee_agie in七 not null,7 job_idnat null,8 departnent_id chap<L8> not nullr夕pho ne _fi umbei' chat'C12? not null10 )11 /表已创建.4.1.4登记房屋表:create table register_room(room_id char(4) not null primary key,unit_id int

20、 not null,room_type char(10) not null,area float not null, price float not null, total_price float not null foreign key (unit_id) references unit(unit_id),)1 create table registRi'_rDon2 <3 room_id char<4> nut null primary key.4 tinit_ld int not null,5 i'oom_t*jpe cliapl(J> not n

21、ull,6 area float not niillj-7 pr-ice f loat not nu11r.Btotal_pi*ice Float nqt null,9 fkey (unit_±d> references unit<un 10* >KQL> /限已创建,4.1.5登记客户表:create table register_customer(remand_id char(6) not null,order_id char(6) not null,foreign key (remand_id) references remand_customer(re

22、mand_id), foreign key (order_id) references order_customer(order_id)SQL> create table Fegistei*_customei*2 <3 t'emand_id char<6> not ninllj.4 DpdeiPiil chai*C6)i not: mill.5 f ore i9n key < r e nan d_ld > references i-e man d_c us t o me r < re nan d_id > ,6 foire ijn key

23、 CoFdepxd i*efer'encestQmerQi*d®y_id7 >8 /表已创建.4.1.6预订客户表:create table order_customer(order_id char(6) not null primary key, order_name int not null, order _sex char(2) not null, order _age int not null, order _job char(10) not null, order _ident char(18) not null, order_phone char(12) n

24、ot null, order_addr char(25) not null, order_pay char(10) not null)1 create table ordei*_customer 2 (3 order_idnot null primary key.4 ordep_HAme int not null5 order_ex char<2> not null,6 arder_sige Int not null,?order_Job GhaXl曰)not null,8 order_ident charlB> not nullr9 order_phone char<

25、12> not null,10 order_addi* char<25> cot null,11 order_ijay chai*C10) not null12* >EQL> /限已创建。4.1.7预订房屋表:create table order_room(contract_id char(6) not null primary key, build_id int not null, unit_id int not null, room_id char(4) not null, room_type char(10) not null, area float not

26、 null, price float not null, total_price float not null,order_date date not null, yifu_money float, weifu_money float not null)fJQL> create table order_roon 2 <3 contract_id char<G> not null primary kei/,4 huild_id int not null>5 urnit_id int rwt null,6 room_id diai*<4> not null

27、7 i'oom_t*jpe cliaptl(J> not null,8 area f lo at not niillj-9 price float not null.totalrjprice Float not null, 11order_date date nut null,12 yifu_money Float13 we ifu_noney float notnull14 IS /限已创建“4.1.8预订表:create table oder(contract_id char(6) not null,order_id char(6) not null,foreign key

28、(contract_id) references order_room(contract_id), foreign key (order_id) references order_customer(order_id)1 create table oder2 <3 conti'act_id char<6> not nuillj.4 ordei*_id char(6> not null,5 forelgrn key Ccontract-id)( refeiences rdei*_i'Qoni<conti'a!ct_id>*6 foreig

29、rn key <<ji*derMid> i*eFei*e<ices ordercustomey<oi*dei*_id?* >8 /展已创建。4.1.9需求客户表:create table remand_customer(remand_id char(6) not null primary key, remand_name char(15) not null, remand_sex char(2),remand_ident char(18),remand_phone char(12),remand_addr char(25)&QL> create

30、 tabie remand_ciistoner2 (3 renand_id char<6> not null urinary key. 4 renand_nane cJiar<lS> not null,5t'enand_SEX chai'2>,6t'enand_ident chai'<ld,?vemand_phcne cha>>12?,8i*enand_addr char<25>9 >10 /限已创建,4.1.10需求房屋表:create table remand_build(remand_bui

31、ldid char(6) not null primary key, build_id int not null, unit_id int not null, room_id char(4) not null, room_type char(10) not null, area float not null, price float not null, total_price float not null)bQL> create table remand_build2 <3 reinand_huildid chai<6> not nullkey,4 Jbuild_id

32、int not null,5 unit_id int not null,6 t'oonvid cliar4> not null,?voom_tpe cliap<lU> not null48 area float not null,9 price float not nullj.10 total_price float not null11 >12 /上已创建“4.1.11购买需求表:create table remand_buy(remand_id char(6) not null,remand_buildid char(6) not null,foreign

33、key (remand_id) references remand_customer(remand_id), foreign key (remand_buildid) references remand_build(remand_buildid)SQL> create table Femand_huty2 <3 i*einan(l_id char<6> not null.4 re man d_bu i Id id chai*C6> molt inull.5 f ore ijn key (re nan d_id > ref eiences r-e man d_

34、c us t o me r < re nan d_id J6 fore iffn key Cren<indJbiuildidl? referentes renand_Jt>miildl<Feraaind_bujildid>7 >8 /表已创建.4.1.12收款表:create table collection(contract_id char(6) not null,order_id char(6) not null,foreign key (contract_id) references order_room(contract_id),foreign ke

35、y (order_id) references order_customer(order_id)SQL> create table collection2 <3 conti*act_id char<6> not ninllj.4 ordei*_id cliai*(6> not; null-5 foreigrn key Ccontract_id)( pefer-ences rdep_room(contr,aict=id>*6 Foi*eri.grn key <oi*der_id> referencesordercustoinierCoi*dei*_

36、id>7 >8 /尾已创电4. 2序列的设计4.1.1 创建一个名为“ build_seq”的序列,用于产生楼房编号,起始值为1,步长为1,不缓存,不循环。WQL> create sequence build_seq;序列已创建,4.1.2 创建一个名为“ unit_seq”的序列,用于产生单元编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。&QL> create sequence unit_seq maxualue 9999;序已创建.4.1.3 创建一个名为“ room_seq”的序列,用于产生房间编号,起始值为1,步长为1,最大值为9999,

37、不缓存,不循环。SQL> create sequence voom_seq naxualue 9999;序列已创建.4.1.4 创建一个名为“order_seq”的序列,用于产生预定房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。!QL> create 零equeec号 order_seq stavt with 140001 increment hy 1 nocBche ; 序列已创建.4.1.5 创建一个名为“remand_seq”的序列,用于产生需求房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。;QL> create sequen

38、ce pemand_seq start with 140001 Increment by 1 nocache;杉怛创建口4. 3索引的设计4.1.1 在builds表中的room_id列上创建名为"builds_room_index ”的平衡索引树。SQLcreate index builds_room_index on builds(Foom_id> tablespace tndx; 孱引已创建。4.1.2 在 employees 表中的 employee_name 歹U上创建名为 " employee_name_index” 的平衡 索引树。SQL> cre

39、ate index enployee_nanie_index un employees<employee_nane> tablespace in x;素弓I已创建.4.1.3 在collection 表中的contract_id 列上创建名为"collection _index”的平衡索引 树。SQLcreate index collectian_index on collection<contract-id) tablespace indx; 曝引已创建。4.1.4 在 order_customer 中的 order_name 列上创建名为 "order

40、_customer _index”的平衡 索引树。SQL> create index order._custoner_index on ordet*_customei*<order_nane> tablespace indx ;索引已创建。4.1.5 在order中的contract_id列上创建名为"order _index"的平衡索引树。SQL> cpeace index ordei*_index on oder<conci*Act_id) tAblespace indx;索引已创建.4. 4视图的设计4.4.1创建名为“ customer_view”的视图,用于查询预定客户

温馨提示

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

评论

0/150

提交评论