您好,欢迎来到好走旅游网。
搜索
您的当前位置:首页房地产销售管理系统

房地产销售管理系统

来源:好走旅游网
房地产销售管理系统

组员:

房地产销售管理系统

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) 单元(unit_id) 房号(room_idchar 4 not null int not null int 数据类型 大小 是否为空 not null(主键) ) 表2 单元表(unit): 表中列名 单元(unit_id) 房号(room_id) 表3 员工信息(employees): 表中列名 员工编号(employee_id) 姓名(employee_name) 所属部门 (department_id) 性别(employee_sex) 年龄(employee_age) int null char 2 null char 18 not null char 15 not null char 6 数据类型 大小 是否为空 not null(主键) char 4 数据类型 int 大小 是否为空 not null(主键) not null 职位(job_id) 联系电话(phone_number) char 15 not null char 12 not null 表4 登记房屋(register_room): 表中列名 房号(room_id) 单元(unit_id) 房型(room_type) 面积(area) 单价(price) 总价(total_price) 表5 登记客户(register_customer):

float Not null float float Not null Not null char 10 Not null int char 4 数据类型 大小 是否为空 not null(主键) not null(外主键) 表中列名 需求客户编号(remand_id) 预订客户编号(order_id) 数据类型 大小 是否为空 not null(外主键) char 6 char 6 not null(外主键) 表6 预订客户(order_customer): 表中列名 预订客户编号(order_id) 客户姓名(order_name) 性别(order_sex) 年龄(order_age) int Not null char 2 Not null char 15 not null char 6 not null(主键) 数据类型 大小 是否为空 职务(order_job) 身份证号(order_ident) 联系电话(order_phone) 联系地址(order_addr) 支付方式(order_pay) 表7 预订房屋(order_room): 表中列名 预订合同编号(contract_id) 楼号(build_id) int not null char 6 not null(主键) 数据类型 大小 是否为空 char 10 Not null char 25 Not null char 12 Not null char 18 Not null char 10 Not null 单元(unit_id) 房号(room_id) 房型(room_type) 面积(area) 单价(price) 总价(total_price) 订购日期(order_date) 已付金额(yifu_money) 未付金额(weifu_mfloat Not null float Not null char 12 Not null float Not null float float Not null Not null char 10 Not null char 4 Not null int Not null oney) 表8 预订(order): 表中列名 预订合同编号(contract_id) 预订客户编号(order_id) 表9 需求客户(remand_customer): 表中列名 需求客户编号(remand_id) 姓名(remand_name) 性别(remand_sex) 身份证号char 18 Not null char 2 Null char 15 Not null char 6 not null(主键) 数据类型 大小 是否为空 char 6 Not null(外主键) char 6 Not null(外主键) 数据类型 大小 是否为空 (remand_ident) 联系电话(remand_phone) 联系地址(remand_addr) 表10 需求房屋(remand_build): 表中列名 房屋需求编号(remand_buildid) 楼号(build_id) 单元(unit_id) 房号(room_id) 房型char 10 Not null char 4 Not null int Not null int not null char 6 not null(主键) 数据类型 大小 是否为空 char 25 Not null char 12 Not null (room_type) 面积(area) 单价(price) 总价(total_price) 表11购买需求(remand_buy): 表中列名 需求客户编号(remand_id) 房屋需求编号(remand_buildid) 表12 收款(collection): 表中列名 预订合同编号(contracchar 6 数据类型 大小 是否为空 Not null(外主键) char 6 Not null(外主键) char 6 Not null(外主键) 数据类型 大小 是否为空 float Not null float float Not null Not null t_id) 预订客户编号(order_id) 4.数据库实施

4.1数据库建

4.1.1创建楼房单元房号表:

char 6 Not null(外主键) create table builds (

build_id int not null primary key, unit_id int not null, room_id char(4) not null )

4.1.2单元表:

create table unit (

unit_id int not null primary key, room_id char(4) not null )

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 )

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), )

4.1.5登记客户表:

create table register_customer (

remand_id char(6) not null, order_id char(6) not null, foreign foreign

key key

(remand_id) (order_id)

references references

remand_customer(remand_id),

order_customer(order_id) )

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 )

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 )

4.1.8预订表:

create table oder (

contract_id char(6) not null, order_id char(6) not null, foreign key (contract_id) order_room(contract_id), foreign key

(order_id)

order_customer(order_id)

)

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) )

references references

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 )

4.1.11购买需求表:

create table remand_buy (

remand_id char(6) not null, remand_buildid char(6) not null, foreign key (remand_id) remand_customer(remand_id), foreign key

(remand_buildid)

remand_build(remand_buildid)

)

4.1.12收款表:

create table collection (

references references

contract_id char(6) not null, order_id char(6) not null, foreign foreign )

4.2 序列的设计

4.2.1创建一个名为“build_seq”的序列,用于产生楼房编号,

key key

(contract_id) (order_id)

references references

order_room(contract_id), order_customer(order_id)

起始值为1,步长为1,不缓存,不循环。

4.2.2创建一个名为“unit_seq”的序列,用于产生单元编号,

起始值为1,步长为1,最大值为9999,不缓存,不循环。

4.2.3创建一个名为“room_seq”的序列,用于产生房间编号,

起始值为1,步长为1,最大值为9999,不缓存,不循环。

4.2.4创建一个名为“order_seq”的序列,用于产生预定房屋编

号,起始值为140001,步长为1,无最大值,不缓存,不循环。

4.2.5创建一个名为“remand_seq”的序列,用于产生需求房屋

编号,起始值为140001,步长为1,无最大值,不缓存,不循环。

4.3 索引的设计

4.3.1

在builds表中的room_id列上创建名为

“builds_room_index”的平衡索引树。

4.3.2

在employees表中的employee_name列上创建名为

“employee_name_index”的平衡索引树。

4.3.3

在collection表中的contract_id列上创建名为在order_customer中的order_name列上创建名为order中的contract_id列上创建名为“order _index”

“collection_index”的平衡索引树。

4.3.4

“order_customer_index”的平衡索引树。

4.3.5在

的平衡索 引树。

4.4 视图的设计

4.4.1创建名为“customer_view”的视图,用于查询预定客户编

号,客户姓名,性别,年龄,职务,身份证号,联系电话,联系地址,支付方式。

4.4.2 创建名为“employees_view” 的视图, 用于查询员工编

号,姓名,所属部门,性别,年龄,职位,联系电话。

4.4.3 创建名为“register_room_view”的视图,用于查询登记

房屋的房号,单元号,房型,面积,单价,总价。

4.4.4创建名为“order_room_view”的视图,用于查询预定房屋

的预订合同编号,楼号,单元号,房号,房型,面积,单价,总价,订购日期,已付金额,未付金额。

4.4.5创建名为“remand_customer_view”的视图,用于查询需

求客户的需求客户编号,姓名,性别,身份证号,联系电话,联系地址。

4.4.6创建名为“remand_build_view”的视图,用于查询需求房

屋的房屋需求编号,楼号,单元号,房号,房型,面积,单价,总价。

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- haog.cn 版权所有 赣ICP备2024042798号-2

违法及侵权请联系:TEL:199 1889 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务