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

下载本文档

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

文档简介

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

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

7、联系图:2.1.8需求客户信息实体图:2.1.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)intnotnull(主键)单元(unit_id)intnotnull房号(room_id)char4notnull表2单元表(unit):表中列名数据类型大小是否为空单元(unit_id)intnotnull(主键)房号(room_id)char4notnull表3员工信息(employees)表中列名数据

10、类型大小是否为空员工编号(employee_id)char6notnull(主键)姓名(employee_name)char15notnull所属部门(department_id)char18notnull性别(employee_sex)char2null年龄(employee_age)intnull职位(job_id)char15notnull联系电话(phone_number)char12notnull表4登记房屋(register_room)表中列名数据类型大小是否为空房号(room_id)char4notnull(主键)单元(unit_id)intnotnull(外主键)房型(room

11、_type)char10Notnull面积(area)floatNotnull单价(price)floatNotnull总价(total_price)floatNotnull表5登t己客户(register_customer)表中列名数据类型大小是否为空需求客户编号(remand_id)char6notnull(外主键)预订客户编号(order_id)char6notnull(外主键)表6预订客户(order_customer)表中列名数据类型大小是否为空预订客户编号(order_id)char6notnull(主键)客户姓名(order_name)char15notnull性另1J(orde

12、r_sex)char2Notnull年龄(order_age)intNotnull职务(order_job)char10Notnull身份证号(order_ident)char18Notnull联系电话(order_phone)char12Notnull联系地址(order_addr)char25Notnull支付方式(order_pay)char10Notnull表7预订房屋(order_room)表中列名数据类型大小是否为空预订合同编号(contract_id)char6notnull(主键)楼号(build_id)intnotnull单元(unit_id)intNotnull房号(roo

13、m_id)char4Notnull房型(room_type)char10Notnull面积(area)floatNotnull单价(price)floatNotnull总价(total_price)floatNotnull订购日期(order_date)char12Notnull已付金额(yifu_money)floatNotnull未付金额(weifu_money)floatNotnull表8预订(order)表中列名数据类型大小是否为空预订合同编号(contract_id)char6Notnull(外主键)预订客户编号(order_id)char6Notnull(外主键)表9需求客户(re

14、mand_customer)表中列名数据类型大小是否为空需求客户编号(remand_id)char6notnull(主键)姓名(remand_name)char15Notnull性另1J(remand_sex)char2Null身份证号(remand_ident)char18Notnull联系电话(remand_phone)char12Notnull联系地址(remand_addr)char25Notnull表10需求房屋(remand_build)表中列名数据类型大小是否为空房屋需求编号(remand_buildid)char6notnull(主键)楼号(build_id)intnotnul

15、l单元(unit_id)intNotnull房号(room_id)char4Notnull房型(room_type)char10Notnull面积(area)floatNotnull单价(price)floatNotnull总价(total_price)floatNotnull表11购买需求(remand_buy):表中列名数据类型大小是否为空需求客户编号(remand_id)char6Notnull(外主键)房屋需求编号(remand_buildid)char6Notnull(外主键)表12收款(collection)表中列名数据类型大小是否为空预订合同编号(contract_id)char

16、6Notnull(外主键)预订客户编号(order_id)char6Notnull(外主键)4.数据库实施4.1数据库建4.1.1创建楼房单元房号表:createtablebuilds(build_idintnotnullprimarykey,unit_idintnotnull,room_idchar(4)notnull)SQL>createtableliuilds2 <3 build-idintnotnullprinarykey.4 unit_idintnotnull.5 roon_idchar<4>notnull6 >7 /表已创建。4.1.2单元表:crea

17、tetableunit(unit_idintnotnullprimarykey,room_idchar(4)notnull)SQL>createtableunit2 <3 unit_idintnotnullprimarykey4 roon_idchar<4>notnull5 >6 /表已创建。4.1.3员工表:createtableemployees(employee_idchar(6)notnullprimarykey,employee_namechar(15)notnull,employee_sexchar(2)notnull,employee_ageintn

18、otnull,job_idchar(15)notnull,department_idchar(18)notnull,phone_numberchar(12)notnullSQL>createtableenploj/ees2 <3 employee_idchar<6>notnullprinari/key,4 emplo9ee_namechav(15>notnull,5 employee_sexchar<2>notnull,6 emplo</ee_agieintnotnull,7 job_idchai'<15>natnull,8

19、depaptnent_idchap<L8>notnull.9 phone_fiumbei'char'd?notnull1611/表已创建,4.1.4登记房屋表:createtableregister_room(room_idchar(4)notnullprimarykey,unit_idintnotnull,room_typechar(10)notnull,areafloatnotnull,pricefloatnotnull,total_pricefloatnotnullforeignkey(unit_id)referencesunit(unit_id),)1 cr

20、eatetablej*egistei'_rDon2 <3 room_idchar<4>nutnullprimeirykey.4 tinit_ldintnotnull,5 i'ooni_t<jpecliaptl0>notnull,6 areaFloatnotnnllj-7 pr-icefloatnotnull.8 tot4l_pi*iceFloatnotnull.yforeignkeyCunreferencesunit<un10*>EQL>/除已创建,4.1.5登记客户表:createtableregister_customer(r

21、emand_idchar(6)notnull,order_idchar(6)notnull,foreignkey(remand_id)referencesremand_customer(remand_id),foreignkey(order_id)referencesorder_customer(order_id)SQL>createtableFegistei*_customei*2 <3 t'emand_idchar<6>notninllj.4 DpdeiPiilchai*C6)inot:mill.5 forei9nkey<renand_ld>re

22、ferencesi-emand_customer<renand_id>,6 foireijnkeyCoFdepxdi*efer'encestQmerQi*d®y_id7 >B/表已创建.4.1.6预订客户表:createtableorder_customer(order_idchar(6)notnullprimarykey,order_nameintnotnull,order_sexchar(2)notnull,order_ageintnotnull,order_jobchar(10)notnull,order_identchar(18)notnull,or

23、der_phonechar(12)notnull,order_addrchar(25)notnull,order_paychar(10)notnull)1 createtableoi*dei*_customer2(3order_idch*r<&)notnullprifnav94ordeP_nAnieintnotnull5 order_5exchar<2>notnull,6 order_sigeintnotnull?order_JobchapClSnotnull,8 order_identcharClB>notnull,9 order_phonechar<1

24、2>notnull,10 order_addi*ckaM25cotnull,11 order_ijaychai*<10)notnull12*>EQL>/限已创建。4.1.7预订房屋表:createtableorder_room(contract_idchar(6)notnullprimarykey,build_idintnotnull,unit_idintnotnull,room_idchar(4)notnull,room_typechar(10)notnull,areafloatnotnull,pricefloatnotnull,total_pricefloatnot

25、null,order_datedatenotnull,yifu_moneyfloat,weifu_moneyfloatnotnull)fJQL>createtableorder_roon2<3 contract_idchar<G>notnullprimarykei/,4 huild_idintnotnull>5 urnit_idintrwtnull,6 room_iddiai*<4>notnull7 i'oom_t*jpecliaptl(J>notnull,8 areafloatnotniillj-9 pricefloatnotnull.

26、totalrjpriceFloatnotnull,11order_datedatenutnull,12 yifu_moneyFloat13 weifu_noneyfloatnotnull14IS/限已创建“4.1.8预订表:createtableoder(contract_idchar(6)notnull,order_idchar(6)notnull,foreignkey(contract_id)referencesorder_room(contract_id),foreignkey(order_id)referencesorder_customer(order_id)1 createtabl

27、eoder2 <3 conti'act_idchar<6>notnuillj.4 ordei*_idchar(6>notnull,5 forelgrnkeyCcontract-id)(refeiencesrdei*_i'Qoni<conti'a!ct_id>*6 foreigrnkey<<ji*derMid>i*eFei*e<icesordercustomey<oi*dei*_id?*>8/展已创建。4.1.9需求客户表:createtableremand_customer(remand_idcha

28、r(6)notnullprimarykey,remand_namechar(15)notnull,remand_sexchar(2),remand_identchar(18),remand_phonechar(12),remand_addrchar(25)&QL>createtabieremand_ciistoner2(3renand_idchar<6>notnullurinarykey.4renand_nanecJiar<lS>notnull,5t'enand_SEXchai'2>,6t'enand_identchai

29、9;<ld,?vemand_phcnecha>>12?,8i*enand_addrchar<25>9>10/限已创建,4.1.10需求房屋表:createtableremand_build(remand_buildidchar(6)notnullprimarykey,build_idintnotnull,unit_idintnotnull,room_idchar(4)notnull,room_typechar(10)notnull,areafloatnotnull,pricefloatnotnull,total_pricefloatnotnull)bQL&g

30、t;createtableremand_build2 <3 reinand_huildidchai<6>notnullkey,4 Jbuild_idintnotnull,5 unit_idintnotnull,6 t'oonvidcliar4>notnull,?voom_tpecliap<lU>notnull48 areafloatnotnull,9 pricefloatnotnullj.10 total_pricefloatnotnull11 >12 /上已创建“4.1.11购买需求表:createtableremand_buy(remand

31、_idchar(6)notnull,remand_buildidchar(6)notnull,foreignkey(remand_id)referencesremand_customer(remand_id),foreignkey(remand_buildid)referencesremand_build(remand_buildid)SQL>createtableFemand_huty2 <3 Jt*emand_idchar<6>notnull.4 remand_biiiIdidchai*C6>motnull.5 foreijnkey(renand_id>

32、refeiencesr-emand_customerenand_idJ6 foreigrnkeyCren<indJbiuildidl?referentesrenin<d_Jb<|iiIdlCFeniainid.buirldid7 >8 /表已创建.4.1.12收款表:createtablecollectioncontract_idchar(6)notnull,order_idchar(6)notnull,foreignkey(contract_id)referencesorder_room(contract_id),foreignkey(order_id)referen

33、cesorder_customer(order_id)KQL>createtablecollection2 <3 conti*act_idchar(6>notnull.,4 ordei*_idcliai*(6>not;nul1a.5 foreigrnkeyCcontract_id)(pefer-encesrder_raoni(contr,aict=id>,6 foireigrnkey<oi*der_id>referencesorder_c|ustoinierCoi*der_id>7 >度已创建。4. 2序列的设计4.1.1 创建一个名为“b

34、uild_seq”的序列,用于产生楼房编号,起始值为1,步长为1,不缓存,不循环。WQL>createsequencebuild_seq;序列已创建,4.1.2 创建一个名为“unit_seq”的序列,用于产生单元编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。&QL>createsequenceunit_seqmaxualue9999;序已创建.4.1.3 创建一个名为“room_seq”的序列,用于产生房间编号,起始值为1,步长为1,最大值为9999,不缓存,不循环。SQL>createsequencevoom_seqnaxualue9999;序列已

35、创建.4.1.4 创建一个名为“order_seq”的序列,用于产生预定房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。!QL>create零equeec号order_seqstavtwith140001incrementhy1nocBche;序列已创建.4.1.5 创建一个名为“remand_seq”的序列,用于产生需求房屋编号,起始值为140001,步长为1,无最大值,不缓存,不循环。;QL>createsequencepemand_seqstartwith140001Incrementby1nocache;杉怛创建口4. 3索引的设计4.1.1 在buil

36、ds表中的room_id列上创建名为"builds_room_index”的平衡索引树。SQL>createindexbuilds_roon_indexonbuilds(room_id>tablespacetndx;索引已创建。4.1.2 在employees表中的employee_name歹U上创建名为"employee_name_index”的平衡索引树。SQL>createindexenployee_nanie_indexunemployees<employee_nane>tablespaceinx;素弓I已创建.4.1.3 在colle

37、ction表中的contract_id列上创建名为"collection_index”的平衡索引树。SQLcreateindexcollectian_indexoncollection<contract-id)tablespaceindx;曝引已创建。4.1.4 在order_customer中的order_name列上创建名为"order_customer_index"的平衡索引树。SQL>createindexorder._custoner_indexonordet*_customei*<order_nane>tablespaceindx;索引已创建。4.1.5 在order中的contract_id列上创建名为"order_index"的平衡索引树。SQL>cpeaceindexorder_indexonoder<contract_id)tAblespaceindx;索引已创建,4.4视图的设计4.4.1创建名为“customer_view”的视图,用于查询预定客户编号,客户姓名,性别,年龄,职务,身份证号,联系电话,联系地址,支付方式。SQL>createviewcusto

温馨提示

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

评论

0/150

提交评论