房地产销售管理系统_第1页
房地产销售管理系统_第2页
房地产销售管理系统_第3页
房地产销售管理系统_第4页
房地产销售管理系统_第5页
已阅读5页,还剩25页未读 继续免费阅读

下载本文档

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

文档简介

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. 可以查询已收款

6、、未收款等信息,以及相应的合同。2b. 对收款管理进行维护工作,包括增添新收款记录,或删除旧收款记录。概念结构设计2 1 E-R 图所要实现的功能设计, 可能建立它们之间的关系, 进而实现逻辑结构功能。 房地产销售管理信息系统可以划分的实体有:员工信息实体、登记房屋预登记客 户信息实体、预订客户与预订房屋信息实体、预订记录信息实体、需求客户与需 求房屋信息实体、购买需求实体、收款记录实体。用E-R图一一描述这些实体。楼房单元房号信息实体图:员工信息实体图:登记房屋信息实体图:登记客户信息联系图:登记客户预订客户信息实体图:预订房屋实体图:预订联系图:需求客户信息实体图:需求房屋实体图:购买需求

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

8、编程语言的接口。1楼房单元房号(楼房号,单元,房号)2员工(员工编号,姓名,所属部门,性别,年龄,职位,联系电话)3登记房屋(房号,单元,房型,面积,单价,总价)4登记客户(需求客户编号,预订客户编号)5 .预订客户(预订客户编号,客户姓名,性别,年龄,职务,身份证号,联系 电话,联系地址,支付方式)6 .预订房屋(预订合同编号,楼房号,单元,房号,房型,面积,单价,总价, 订购日期,已付金额,未付金额)7 .预订(预订合同编号,预订客户编号)8 .需求客户(需求客户编号,姓名,性别,身份证号,联系电话,联系地址)9 .需求房屋(房屋需求编号,楼房号,单元,房号,房型,面积,单价,总价)10

9、.购买需求(需求客户编号,房屋需求编号)11 .收款(预订合同编号,预订客户编号)表格表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)char6not null(主键)姓名char15no

10、t null(employee_name)所属部门(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面积(area)floatNot null单

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

12、_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)char4Not nul

13、l房型(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 需求客户(reman

14、d_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_id)int

15、not 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数据库建创建楼房单元房号表:create table builds(build_id int not null primary key,unit_id int not null,room_id char(4) not null)KQL> create table build节2 <3 build_id int not null prinary key.4 unit_id int not null.5 roon_id char

17、<4> not nullG >7 /表已创建。单元表:create table unitunit_id int not null primary key,room_id char(4) not nullFQL> create table un it3 unit_id int not null primary key4 roon_id dhar<4> not null修已创建。员工表:create table employeesemployee_id char(6) not null primary key,employee_name char(15) not

18、 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 nullSQL> create table employees 2 < 3 employee_id char<6 > not null prinari/ key, 4employee_name char(15> not null,.5employee_exribt null,Ge

19、mplo</ee_age int not null,7job_id chai?<15> not null,8 departnent_id chaidG> not null,夕fjhorwjiumbep charCIZ? not null10 > 11 /表已创建.登记房屋表:create table register_roomroom_id char(4) not null primary key,unit_id int not null,room_type char(10) not null,area float not null,price float not

20、 null,total_price float not nullforeign key (unit_id) references unit(unit_id),1 create table registei'_roon2 <3 room_id char<4> not null primary hey,4 unit_id int not null,5 i'Oom_t*jpenot irau.il,6 area f loat not mi 11 j.7 ppice f loat: not nullF8 tot4l_pi*ice float not null.9 fo

21、reign key Cunreferences unit<un 10* >EQL> / 度已创建。登记客户表:create table register_customerremand_id char(6) not null,order_id char(6) not null,foreign key (remand_id) references remand_customer(remand_id),foreign key (order_id) references order_customer(order_id)SQL> create table Fegistei*_cu

22、stonei*2 C3 jpenand-id charCG not nuill口4 order_id charCG)1 not null5 f ore i9n key <remand_id> refei*ences r-e man d us t o me re nan d wid > ,6 fore ijjn keyrefenrences order_ciisitoiiiep<oTfcdei*_id,7 >8 /表已创建.预订客户表:create table order_customer(order_id char(6) not null primary key,

23、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) not null,order_addr char(25) not null,order_pay char(10) not null)1 create table oi*dei*_customer2 <3 orde>*_idnot null piim覆py key,4 ord

24、eFjiaiie int not nullj.5 ordersex charO not null,6 order_sige int not null,7 order_Job chapClO not null.6order-ident char<18> not null,9order_phone char<12> not null10order_addr char(25? not null,11order_pay char<10> not null12* >SQL> /限已创建口预订房屋表:create table order_room (cont

25、ract_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 null,price float not null, total_price float not null, order_date date not null, yifu_money float, weifu_money float not nullf?QL> create table order

26、_roan2 <3 contract_id char<6? not null primary key,4 huild_id int not nulLl.5 tinit_id int notnull,6 roonLid cliai*<4>not null,7 i'Ooni_ttjpenot irau.il,Barea. Float not null-,9price float not nullLr16tot4l_jprice float notnull-11 order_date datenot null,12 yifu_r*oney Floaty13 we if

27、u_noney Float notnull14 >15 /度已创建,预订表:create table oder (contract_id char(6) not null,order_id char(6) not null,foreign key (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 nuill,.4

28、 ordei*_id cliai*(6> n七 null,5 foreigm key Ccontractid)( refeiefices 0 1?(1|61*_1*口口|114心口11七1*&心七_:1(1>事6 foi'eigrn key Coi'deriid?1 iefeFences order_cu.stonerCoi*<ier_id 7* > 8 /限已创建.需求客户表:create table remand_customerremand_id char(6) not null primary key,remand_name char(1

29、5) not null,remand_sex char(2),remand_ident char(18),remand_phone char(12),remand_addr char(25)SQL> create table remand_custonei*2 (3 renand_id chaF<6> not null urinary key, 4 renand_nar)enot null,5t'emaii(l_s:ex chai'<2> ,6veman(i_ident cHiait'<18>,?renand-phone cha

30、i*ia),8t*emand_addr char<25>y >16 /除已创建,需求房屋表:create table remand_buildremand_buildid 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 nullKQL> cpeat

31、e table renaind_huild2 <3 re nam dl_bu i Id id charC6> not null priiiaFy key4 build_id int not null.5 un it_id ini not null.6 room_iid chai*<4> not null基7 j*oom_tpe clharClO)* mot null8 are Float: not inuill9 price float ni>ot cull晕1total_price float not null11 >12 /尾已创建,购买需求表:crea

32、te table remand_buy (remand_id char(6) not null,remand_buildid char(6) not null,foreign key (remand_id) references remand_customer(remand_id),foreign key (remand_buildid) references remand_build(remand_buildid)SQL> create table i*eniand_huy 2 ( 3reiriand_id charC6not ntillj.4 re mam d_biii Id id

33、chai*C6> not innll 毕5 f DT-e ijn key <remand_id> ref 61*61106 5 r,e man d_c us t: o me re nan d_id6 Foreisin key CrenandJbuildid? references repianidJbuildKienfeainidUbuildid>7 >8 /表已创建.收款表:create table collection (contract_id char(6) not null,order_id char(6) not null,foreign key (co

34、ntract_id) references order_room(contract_id),foreign key (order_id) references order_customer(order_id)KQL> create table collection2 <3 contpact_id char(6 not ninll,.4 ordei*_id chai*(6> not; null/5 foreigrn key Ccontractid)1 refei'ences order_i*aont<conti*aict;sid>,6 Foireigrn k

35、ey <oi*der_id> references order!uCiistoiniei'Coi*dei'_id>7 )8 /限已创建*4. 2序列的设计创建一个名为“ build_seq ”的序列,用于产生楼房编号,起始值为1,步长为1,不缓存,不循环。sQL> create sequence build_seqs序列已创建,创建一个名为“ unit_seq ”的序列,用于产生单元编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。gQL> create sequence uinit_seq maxualue 9999 i序已创建.创建

36、一个名为“ room_seq”的序列,用于产生房间编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。SQL> create sequence voom_seq naxualue 9999;序列已创建。创建一个名为“ order_seq ”的序列,用于产生预定房屋编号,起始值为140001 ,步长为1无最大值,不缓存,不循环。SQL> creat号order_seq( stairt with 140001 increment by 1 noicache;序列已创建。创建一个名为“remand_seq”的序歹U,用于产生需求房屋编号,起始值为140001,步长为1, 无最大

37、值,不缓存,不循环。SQL> create sequence pemandl_seq start with 140001 Increment by 1 nocache ;序已创建。5. 3索引的设计在builds 表中的room_id列上创建名为"builds_room_index ”的平衡索引树。SQL> create index builds_roon_index on builds(room_id> tablespace Lndx; 索引已创建口在 employees 表中的 employee_name歹U上创建名为 "employee_name_i

38、ndex "的平衡索弓I树。SQLcreate index enployee_nanie_index un enplovees (employee_nane> tablespace ind x;索引已创建口在collection 表中的contract_id 列上创建名为"collection_index ”的平衡索引树。SQLcreate index collectian_index on collection<contract_id) tablespace indx;黑引已创建.在 order_customer 中的 order_name 歹U上创建名为&q

39、uot;order_customer_index "的平衡索弓I树。SQL> create index order_custoner_index on ordEt*_custoinet*<order_nane> tablespace indx ;索引已创建。在order中的contract_id 列上创建名为"order _index ”的平衡索 引树。SQL> cpeace index ordei*_index on oder<conci*Act_id) tAblespace indx;索引已创建.4. 4视图的设计创建名为“ customer_view ”的视图,用于查询预定客户编号,客户姓名,性别,年龄,职务,身份

温馨提示

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

评论

0/150

提交评论