房地产销售管理系统

上传人:无*** 文档编号:124948009 上传时间:2022-07-25 格式:DOCX 页数:25 大小:413.22KB
返回 下载 相关 举报
房地产销售管理系统_第1页
第1页 / 共25页
房地产销售管理系统_第2页
第2页 / 共25页
房地产销售管理系统_第3页
第3页 / 共25页
亲,该文档总共25页,到这儿已超出免费预览范围,如果喜欢就下载吧!
资源描述
组员:房地产销售管理系统房地产销售管理系统1 需求描述1.1功能需求系统包括五大功能模块:主要功能模块有基本资料、客户管理、房屋销售、收款管理、统计管理等功能模块。1基本资料主要包括楼盘房屋资料、员工资料功能子模块。楼盘房屋资料:主要是登记楼盘和房屋详细信息的管理。员工资料: 可对员工的个人信息情况进行管理、 以及员工的楼盘销售业绩情况。2客户管理是对客户的个人信息情况进行管理。主要包括来访客户资料管理、一般客户资料管理、预订客户资料管理、购房客户资料管理等功能子模块。来访客户资料管理:主要登记来访的客户信息资料,查出潜在的客户。一般客户资料管理:主要登记一般的客户信息资料,查出潜在的客户。预订客户资料管理:主要登记预订的客户信息资料。购房客户资料管理:主要登记购房的客户信息资料。3房屋销售主要包括房屋销售、已销售房屋资料、已预订房屋资料等功能子模块。房屋销售:主要是对房屋进行预订、购买等销售的管理。已销售房屋资料:管理已经销售的房屋信息资料。已预订房屋资料:管理已经预订的房屋信息资料。4收款管理主要包括未收款管理、已收款管理、到期收款提示管理等功能子模 块。未收款管理:主要针对已签定合同的房款收款管理。已收款管理:管理已经收款完成的房屋合同信息资料。到期收款提示管理:主要是针对客户分期付款的到期付款的提示功能。5统计管理:包括销售代表销售记录排行、楼盘销售排行统计、收款情况统计等。报表可以根据客户的要求进行设置。1 2数据分析房地产销售管理系统所用到的数据有:1 .基本资料的输入楼盘房屋资料信息: 楼房号,单元,房号,预测面积,单价,总价,房型,房屋状态。员工资料信息: 员工编号,姓名,所属部门,性别,年龄,学历,职位,联系电话。2 .客户管理来访客户信息:客户编号,姓名,联系电话,联系地址。一般客户信息:客户编号,姓名,性别,联系电话,需求面积,需求类型,需求房型,计划付款方式,联系地址,职业,身份证号,单位。预订客户信息:客户编号,客户姓名,楼房号,单元,房号,销售面积,单价,总价,订购日期,代办费用,已付金额。购房客户信息:客户编号,姓名,性别,年龄,联系电话,需求面积,需求楼层,需求房型,计划付款方式,联系地址。3 .房屋销售房屋销售信息: 楼房号,单元,房号,销售面积,单价,总价,房屋状态。已销售房屋信息:合同编号,客户姓名,楼房号,单元,房号,销售面积,合同单价,合同总价,订购日期,联系电话。已预订房屋信息:合同编号,客户姓名,楼房号,单元,房号,销售面积,单价,总价,订购日期,代办费用,已付金额。4 .收款管理未收款管理:合同编号,客户姓名,联系电话,楼房号,单元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。已收款管理:合同编号,客户姓名,联系电话,楼房号,单元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。到期收款提示: 合同编号,客户姓名,联系电话,楼房号,单元,房号,合同单价,合同总价,已付金额,未付金额,付款日期,支付方式。1 3权限管理1 .管理员在基本资料管理中,要求:a.可以查询员工、房屋的信息。b.可以对员工、房屋信息进行修改、添加及删除的操作2 .管理员在客户管理中,要求:a查询各类客户信息,根据客户信息,发现潜在客户b.对客户信息进行维护工作,增添、删除相应客户信息。3 .管理员在房屋销售中,要求:a.查询未销售、已销售、已预订房屋的信息。b.对房屋信息进行维护工作,增添未销售、已销售、已预订的房屋信息。4 .管理员在收款管理中,要求:a.可以查询已收款、未收款等信息,以及相应的合同。b.对收款管理进行维护工作,包括增添新收款记录,或删除旧收款记录。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.9需求房屋实体图:2.1.10购买需求联系图:2.1.11收款记录联系图:2.1.12总的信息实体E-R图:3.逻辑结构设计3.1 关系模式关系模型。关系模型主要是用二维表格结构表达实体集,用外键表示实体间联系。 关系模型是由若干个关系模式组成的集合。 关系模式相当于前面提到的记录类型,它的实例称为关系,每个关系实际上是一张二维表格。关系模型和层次、网状模型的最大判别是用关键码而不是用指针导航数据,表格简单用户易懂, 编程时并不涉及存储结构, 访问技术等细节。 关系模型是数学化模型。 SQL 语言是关系数据库的标准化语言, 已得到了广泛的应用。 设计子系统有一个方便数据库及其应用创建的工具集。 它典型地包含产生表、 窗体、 查询和报表的工具。 DBMS 产品还提供编程语言和对编程语言的接口。1 .楼房单元房号(楼房号,单元,房号)2 .员工(员工编号,姓名,所属部门,性别,年龄,职位,联系电话)3 .登记房屋(房号,单元,房型,面积,单价,总价)4 .登记客户(需求客户编号,预订客户编号)5 .预订客户(预订客户编号,客户姓名,性别,年龄,职务,身份证号,联系 电话,联系地址,支付方式)6 .预订房屋(预订合同编号,楼房号,单元,房号,房型,面积,单价,总价, 订购日期,已付金额,未付金额)7 .预订(预订合同编号,预订客户编号)8 .需求客户(需求客户编号,姓名,性别,身份证号,联系电话,联系地址)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)char6not null(主键)姓名(employee_name)char15not null所属部门(department_id)char18not null性另1J (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单价(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)char2Not 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)char4Not 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 需求客户(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_id)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):表中列名数据类型大小是否为空预订合同编号(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 liuilds2 3 build-id int not null prinary ke*/,4 unit_id int not null.5 roon_id char not null6 7 /表已创建。4.1.2单元表:create table unit(unit_id int not null primary key, room_id char(4) not null)SQL create table unit2 3 tmit_id int not null primapy key,4 rocn_id cJiar not null5 6 /表已创建.4.1.3员工表:create table employees(employee_id char(6) not null 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)SQL create table enploecs2 not null prinaiy key,4 employee_name chav(15 notnull5 emplo not null,empljDvee_age int not rtull,7 job_id cliai not null,8 departnent_id chat(L8 notnull.9 pho ne _jn umbe chai*C13? not null10 11 /表已创建,4.1.4登记房屋表:create table register_room(room_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 null, total_price float not null foreign key (unit_id) references unit(unit_id),)1 create table registRi_rDon2 3 room_id char nuC null primeiry key.4 Un it_id int not null,5 ioom_t notnull,6 area float not nnllj-7 pr-ice float not null.8 tot4l_pi*ice float nqtnull,9 foreign key 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(remand_id),foreign key (order_id) references order_customer(order_id)SQL create table Fegistei*_custonei2 3 i*einan(l_id char not nmllj.4 order_id diaiC6)i nob null,5 f are ign key C r e nan d_id ref ei?ences 1*6 nan d_c us t o ne re nan d_id ,6 for&igrn key Copderid refeTncesoidep_custoner8 /表已创建.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) not null, order_addr char(25) not null, order_pay char(10) not null)1 create table order_customer2 (3 orde*_idnot null paim覆py4 ordep_name Int not null5 order_5ex char not null6 orderige Int not null,7 OFder_Jobnut null.8 order_i(lent charlSnot null,9 order_phone c7iar not nullr16order_addr char not null12* EQL Z尾已创建口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 null, price float not null, total_price float not null, order_date date not null, yifu_money float, weifu_money float not null)fQL create table order_rcon2 3 contract_id char not null primary kei/,4 huild_id int not null5 tinit_id int not null,Gioom_id chart4 not null7 iooni_tiFpe c11lp1U not null,8 area f 1cat not nnllj-9 price float not null,10 totalrjprice Float not null,11 order_date date not cull,12 yifu_money float13 we ifu_noney Float not null1415 /限已创建。4.1.8预订表: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 n0七 null,5 Foreign key Cconltractid)1 refeiences rdei*_iQoni, 6foreigrn key Coi*der_id refevences ordercwstoinier8 /限已创建。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)SQL create table remand_custonei* 2 (3 renand_id char not null urinary key, 4 renan(i_naF)e cJiar not null.5temand_sex chai2J ,6veman(i_ident cliai,7 i*enand_phone chai(12,8 renand-addr chary 10 /除已创建。4.1.10需求房屋表:create table remand_build(remand_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 null)QL create table i*emand_build2 not null primary4 build_id int not nulLl5 unit_id int not: ntill.Eroom_id char not null蒙7 j*oom_tpe chai* mot null8 area float not null.9 price float n。七 cull聚1total_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 key (remand_id) references remand_customer(remand_id), foreign key (remand_buildid) references remand_build(remand_buildid)QL create table remand_huiiy2 not null,E foreign key remand_id reference s reniand_cuistcinteF6 Forekey references re nan d_hu iId 7 8 /表已创建a4.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 key (order_id) references order_customer(order_id)SQL create table collection2 not; nul1a.5 foreigrn key Ccontractid? refer-ences ordei_i*aoni(contr,aictsid ,6 foireigrn key i*eFerences ordercnstomierColder_id7 )8 /除已创建.4. 2序列的设计4.2.1 创建一个名为“ build_seq”的序列,用于产生楼房编号,起始值为1,步长为1,不缓存,不循环。sQL create sequence huild_seq;序列已创建,4.2.2 创建一个名为“ unit_seq”的序列,用于产生单元编号,起始值为 1,步长为1,最大 值为9999,不缓存,不循环。&QL create sequence urnit_seq maxualue 9999;序已创建.4.2.3 创建一个名为“ room_seq”的序列,用于产生房间编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。SQL create sequence room_seq naxualue 9999;序列已创建。4.2.4 创建一个名为“order_seq”的序列,用于产生预定房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。SQL create 等Equence order_seq stairt with 140001 increment hy 1 noicaclne; 序列已创建口4.2.5 创建一个名为remand_seq”的序列,用于产生需求房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。SQL create sequence pemand_seq start with 140001 Increment by 1 nocache;序已创建.4. 3索引的设计4.1.1 在builds表中的room_id列上创建名为builds_room_index”的平衡索引树。SQL create index builds_room_index on builds tablespace tndx;房引已创建。4.1.2 在 employees表中的 employee_name歹U上创建名为employee.nameJndeX1 的平衡索引树。|SQL create index eimployee_name_index on entploj/ees (employee jtane) tablespace indJ索引已创建.4.1.3 在collection表中的contract_id列上创建名为collection_index”的平衡索引树。SQLcreate index collectionindex on collection create index order._.custoner_index on ordei*_custQiet* tablespace indx ;索引已创建4.1.5 在order中的contract_id列上创建名为order _index”的平衡索引树。SQL create index rder_index on oderCcontFact_id tablespace indx; 索引已创建d4. 4视图的设计4.4.1创建名为“ customer_view”的视图,用于查询预定客户编号,客户姓名,性别,年龄,职务,身份证号,联系电话,联系地址,支付方式。SQLcreate view customer_uiew2 as3 select orde,orderename,ardeF_sexrordet*_age,orderjob,order_identorder phone,urder_addr,ordev_pay from ordef_customev;舰图已创建。4.4.2创建名为“ employees_vieW 的视图,用于查询员工编号,姓名,所属部门,性别, 年龄,职位,联系电话。SQL create view enployees_view2 as3 select employe&_idFefiployec_nane,depai*tment_id,enployee_sexenployee_age,jo b_id,phone_numher from employees;视图已创建。4.4.3 创建名为“ register_room_view”的视图,用于查询登记房屋的房号,单元号,房型,面积,单价,总价。SQL create2 as3 eelectvieu r egrist er _roDm_u iew i*ooi_id,unit_id,room_type,are*,pi*ice,tot*l_price from regi9tei*_i*oon;视图已创建。4.4.4 创建名为“ order_room_view”的视图,用于查询预定房屋的预订合同编号,楼号,单元号,房号,房型,面积,单价,总价,订购日期,已付金额,未付金额。SQL create view ordei-_i*oori_vi ew2 as3 select contract_id,build_idunit_id,i*oon_id,room_typearea,priceAtotal_pric e,oi*deF_date,yifu_noney,weiFu_money from crdeF_rcom;视图已创建。4.4.5创建名为“remand_customer_vieW的视图,用于查询需求客户的需求客户编号,姓名, 性别,身份证号,联系电话,联系地址。fJQL create view renand_custoner_uiew2 as3 select i*enand_idreniand_ni*iie,remand_sex,remand_ident,renand_phone,i*cnand_ad |di* from Femand_cus to net* ;h见图已创建.4.4.6创建名为“remand_build_view”的视图,用于查询需求房屋的房屋需求编号,楼号, 单元号,房号,房型,面积,单价,总价。SQL create view renand_build_view2 as3 select renand_buildid,build.idunit _id.anom-id.roon_typeareaprice,rotal_p rice fram renand_huild;视图已创建小本文档部分内容来源于网络,如有内容侵权请告知删除,感谢您的配合!
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业管理 > 营销创新


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!