




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
1、組員:房地產(chǎn)銷售管理系統(tǒng)房地產(chǎn)銷售管理系統(tǒng)1 需求描述功能需求系統(tǒng)包括五大功能模塊:主要功能模塊有基本資料、客戶管理、房屋銷售、收款管理、統(tǒng)計管理等功能模塊。1基本資料主要包括樓盤房屋資料、員工資料功能子模塊。樓盤房屋資料:主要是登記樓盤和房屋詳細(xì)信息的管理。員工資料: 可對員工的個人信息情況進行管理、 以及員工的樓盤銷售業(yè)績情況。2客戶管理是對客戶的個人信息情況進行管理。主要包括來訪客戶資料管理、一般客戶資料管理、預(yù)訂客戶資料管理、購房客戶資料管理等功能子模塊。來訪客戶資料管理:主要登記來訪的客戶信息資料,查出潛在的客戶。一般客戶資料管理:主要登記一般的客戶信息資料,查出潛在的客戶。預(yù)訂客戶
2、資料管理:主要登記預(yù)訂的客戶信息資料。購房客戶資料管理:主要登記購房的客戶信息資料。3 房屋銷售主要包括房屋銷售、 已銷售房屋資料、 已預(yù)訂房屋資料等功能子模塊。房屋銷售:主要是對房屋進行預(yù)訂、購買等銷售的管理。已銷售房屋資料:管理已經(jīng)銷售的房屋信息資料。已預(yù)訂房屋資料:管理已經(jīng)預(yù)訂的房屋信息資料。4 收款管理主要包括未收款管理、 已收款管理、 到期收款提示管理等功能子模塊。未收款管理:主要針對已簽定合同的房款收款管理。已收款管理:管理已經(jīng)收款完成的房屋合同信息資料。到期收款提示管理:主要是針對客戶分期付款的到期付款的提示功能。5統(tǒng)計管理:包括銷售代表銷售記錄排行、樓盤銷售排行統(tǒng)計、收款情況統(tǒng)
3、計等。報表可以根據(jù)客戶的要求進行設(shè)置。1 2 數(shù)據(jù)分析房地產(chǎn)銷售管理系統(tǒng)所用到的數(shù)據(jù)有:1. 基本資料的輸入樓盤房屋資料信息: 樓房號,單元,房號,預(yù)測面積,單價,總價,房型,房屋狀態(tài)。員工資料信息: 員工編號,姓名,所屬部門,性別,年齡,學(xué)歷,職位,聯(lián)系電話。2. 客戶管理來訪客戶信息:客戶編號,姓名,聯(lián)系電話,聯(lián)系地址。一般客戶信息:客戶編號,姓名,性別,聯(lián)系電話,需求面積,需求類型,需求房型,計劃付款方式,聯(lián)系地址,職業(yè),身份證號,單位。預(yù)訂客戶信息:客戶編號,客戶姓名,樓房號,單元,房號,銷售面積,單價,總價,訂購日期,代辦費用,已付金額。購房客戶信息:客戶編號,姓名,性別,年齡,聯(lián)系
4、電話,需求面積,需求樓層,需求房型,計劃付款方式,聯(lián)系地址。3. 房屋銷售房屋銷售信息: 樓房號,單元,房號,銷售面積,單價,總價,房屋狀態(tài)。已銷售房屋信息:合同編號,客戶姓名,樓房號,單元,房號,銷售面積,合同單價,合同總價,訂購日期,聯(lián)系電話。已預(yù)訂房屋信息:合同編號,客戶姓名,樓房號,單元,房號,銷售面積,單價,總價,訂購日期,代辦費用,已付金額。4. 收款管理未收款管理:合同編號,客戶姓名,聯(lián)系電話,樓房號,單元,房號,合同單價,合同總價,已付金額,未付金額,付款日期,支付方式。已收款管理:合同編號,客戶姓名,聯(lián)系電話,樓房號,單元,房號,合同單價,合同總價,已付金額,未付金額,付款日
5、期,支付方式到期收款提示: 合同編號,客戶姓名,聯(lián)系電話,樓房號,單元,房號,合同單價,合同總價,已付金額,未付金額,付款日期,支付方式。1 3權(quán)限管理1. 管理員在基本資料管理中,要求:a. 可以查詢員工、房屋的信息。b. 可以對員工、房屋信息進行修改、添加及刪除的操作。2. 管理員在客戶管理中,要求:a. 查詢各類客戶信息,根據(jù)客戶信息,發(fā)現(xiàn)潛在客戶。b. 對客戶信息進行維護工作,增添、刪除相應(yīng)客戶信息。3. 管理員在房屋銷售中,要求:a查詢未銷售、已銷售、已預(yù)訂房屋的信息。b對房屋信息進行維護工作,增添未銷售、已銷售、已預(yù)訂的房屋信息。4. 管理員在收款管理中,要求:a. 可以查詢已收款
6、、未收款等信息,以及相應(yīng)的合同。b. 對收款管理進行維護工作,包括增添新收款記錄,或刪除舊收款記錄。2概念結(jié)構(gòu)設(shè)計2 1 E-R 圖所要實現(xiàn)的功能設(shè)計, 可能建立它們之間的關(guān)系, 進而實現(xiàn)邏輯結(jié)構(gòu)功能。 房地產(chǎn)銷售管理信息系統(tǒng)可以劃分的實體有:員工信息實體、登記房屋預(yù)登記客 戶信息實體、預(yù)訂客戶與預(yù)訂房屋信息實體、預(yù)訂記錄信息實體、需求客戶與需 求房屋信息實體、購買需求實體、收款記錄實體。用E-R圖一一描述這些實體。樓房單元房號信息實體圖:員工信息實體圖:登記房屋信息實體圖:登記客戶信息聯(lián)系圖:登記客戶預(yù)訂客戶信息實體圖:預(yù)訂房屋實體圖:預(yù)訂聯(lián)系圖:需求客戶信息實體圖:需求房屋實體圖:購買需求
7、聯(lián)系圖:收款記錄聯(lián)系圖:總的信息實體E-R圖:3. 邏輯結(jié)構(gòu)設(shè)計關(guān)系模式關(guān)系模型。關(guān)系模型主要是用二維表格結(jié)構(gòu)表達(dá)實體集,用外鍵表示實體間聯(lián)系。 關(guān)系模型是由若干個關(guān)系模式組成的集合。 關(guān)系模式相當(dāng)于前面提到的記錄類型,它的實例稱為關(guān)系,每個關(guān)系實際上是一張二維表格。關(guān)系模型和層次、網(wǎng)狀模型的最大判別是用關(guān)鍵碼而不是用指針導(dǎo)航數(shù)據(jù),表格簡單用戶易懂, 編程時并不涉及存儲結(jié)構(gòu), 訪問技術(shù)等細(xì)節(jié)。 關(guān)系模型是數(shù)學(xué)化模型。SQM言是關(guān)系數(shù)據(jù)庫的標(biāo)準(zhǔn)化語言,已得到了廣泛的應(yīng)用。設(shè)計子系統(tǒng)有一個方便數(shù)據(jù)庫及其應(yīng)用創(chuàng)建的工具集。 它典型地包含產(chǎn)生表、 窗體、 查詢和報表的工具。DBM貨品還提供編程語言和對
8、編程語言的接口。1樓房單元房號(樓房號,單元,房號)2員工(員工編號,姓名,所屬部門,性別,年齡,職位,聯(lián)系電話)3登記房屋(房號,單元,房型,面積,單價,總價)4登記客戶(需求客戶編號,預(yù)訂客戶編號)5 .預(yù)訂客戶(預(yù)訂客戶編號,客戶姓名,性別,年齡,職務(wù),身份證號,聯(lián)系 電話,聯(lián)系地址,支付方式)6 .預(yù)訂房屋(預(yù)訂合同編號,樓房號,單元,房號,房型,面積,單價,總價, 訂購日期,已付金額,未付金額)7 .預(yù)訂(預(yù)訂合同編號,預(yù)訂客戶編號)8 .需求客戶(需求客戶編號,姓名,性別,身份證號,聯(lián)系電話,聯(lián)系地址)9 .需求房屋(房屋需求編號,樓房號,單元,房號,房型,面積,單價,總價)10
9、.購買需求(需求客戶編號,房屋需求編號)11 .收款(預(yù)訂合同編號,預(yù)訂客戶編號)表格表1樓房單元房號(builds)表中列名數(shù)據(jù)類型大小是否為空樓號(build_id )intnot null(主鍵)單元(unit_id)intnot null房號(room_id)char4not null表2單元表(unit ):表中列名數(shù)據(jù)類型大小是否為空單元(unit_id )intnot null(主鍵)房號(room_id)char4not null表3員工信息(employees)表中列名數(shù)據(jù)類型大小是否為空員工編號(employee_id)char6not null(主鍵)姓名char15no
10、t null(employee_name)所屬部門(department_id)char18not null性別(employee_sex)char2null年齡(employee_age)intnull職位(job_id)char15not null聯(lián)系電話(phone_number)char12not null表 4 登記房屋(register_room)表中列名數(shù)據(jù)類型大小是否為空房號(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)表中列名數(shù)據(jù)類型大小是否為空需求客戶編號(remand_id)char6not null( 外主鍵)預(yù)訂客戶編號char6not null( 外主鍵)(order_id)表 6 預(yù)訂客戶(order_customer)表中列名數(shù)據(jù)類型大小是否為空預(yù)訂客戶編號(order_id)char6not null(主鍵)客戶姓名(order_name)char15not null性另1J (order_sex)char2Not null年齡(order
12、_age)intNot null職務(wù)(order_job)char10Not null身份證號(order_ident)char18Not null聯(lián)系電話(order_phone)char12Not null聯(lián)系地址(order_addr)char25Not null支付方式(order_pay)char10Not null表7預(yù)訂房屋(order_room)表中列名數(shù)據(jù)類型大小是否為空預(yù)訂合同編號(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預(yù)訂(order)表中列名數(shù)據(jù)類型大小是否為空預(yù)訂合同編號(contract_id)char6Not null( 外主鍵)預(yù)訂客戶編號(order_id)char6Not null( 外主鍵)表 9 需求客戶(reman
14、d_customer)表中列名數(shù)據(jù)類型大小是否為空需求客戶編號(remand_id)char6not null(主鍵)姓名(remand_name)char15Not null性另1J (remand_sex)char2Null身份證號(remand_ident)char18Not null聯(lián)系電話(remand_phone)char12Not null聯(lián)系地址(remand_addr)char25Not null表 10 需求房屋(remand_build)表中列名數(shù)據(jù)類型大小是否為空房屋需求編號(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):表中列名數(shù)據(jù)類型大小是否為空需求客戶編號(remand_id)char6Not null( 外主鍵)房屋需求編號(remand_buildid)char6Not null( 外主鍵)表 12 收款(collection)表中列名數(shù)據(jù)類型大小是否為空預(yù)訂合同
16、編號(contract_id)char6Not null( 外主鍵)預(yù)訂客戶編號(order_id)char6Not null( 外主鍵)4.數(shù)據(jù)庫實施4. 1數(shù)據(jù)庫建創(chuàng)建樓房單元房號表: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節(jié)2 <3 build_id int not null prinary key.4 unit_id int not null.5 roon_id char
17、<4> not nullG >7 /表已創(chuàng)建。單元表: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修已創(chuàng)建。員工表: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 /表已創(chuàng)建.登記房屋表: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> /度已創(chuàng)建。登記客戶表: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*_cus
22、tonei*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 /表已創(chuàng)建.預(yù)訂客戶表:create table order_customer(order_id char(6) not null primary key,o
23、rder_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 orde
24、Fjiaiie 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> /限已創(chuàng)建口預(yù)訂房屋表:create table order_room (contr
25、act_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 ifu
27、_noney Float notnull14 >15 /度已創(chuàng)建,預(yù)訂表: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*&心七_(dá):1(1>事6 foi'eigrn key Coi'deriid?1 iefeFences order_cu.stonerCoi*<ier_id 7* > 8 /限已創(chuàng)建.需求客戶表:create table remand_customerremand_id char(6) not null primary key,remand_name char(15
29、) 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 chai
30、*ia),8t*emand_addr char<25>y >16 /除已創(chuàng)建,需求房屋表: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> cpeate
31、 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 /尾已創(chuàng)建,購買需求表:creat
32、e 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 c
33、hai*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 /表已創(chuàng)建.收款表:create table collection (contract_id char(6) not null,order_id char(6) not null,foreign key (con
34、tract_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 ke
35、y <oi*der_id> references order!uCiistoiniei'Coi*dei'_id>7 )8 /限已創(chuàng)建*4. 2序列的設(shè)計創(chuàng)建一個名為“ build_seq ”的序列,用于產(chǎn)生樓房編號,起始值為1,步長為1,不緩存,不循環(huán)。sQL> create sequence build_seqs序列已創(chuàng)建,創(chuàng)建一個名為“ unit_seq ”的序列,用于產(chǎn)生單元編號,起始值為1,步長為1,最大值為9999,不緩存,不循環(huán)。gQL> create sequence uinit_seq maxualue 9999 i序已創(chuàng)建.創(chuàng)建一
36、個名為“ room_seq”的序列,用于產(chǎn)生房間編號,起始值為1,步長為1,最大值為9999,不緩存,不循環(huán)。SQL> create sequence voom_seq naxualue 9999;序列已創(chuàng)建。創(chuàng)建一個名為“ order_seq ”的序列,用于產(chǎn)生預(yù)定房屋編號,起始值為140001 ,步長為1無最大值,不緩存,不循環(huán)。SQL> creat號order_seq( stairt with 140001 increment by 1 noicache;序列已創(chuàng)建。創(chuàng)建一個名為“remand_seq”的序歹U,用于產(chǎn)生需求房屋編號,起始值為140001,步長為1, 無最大值
37、,不緩存,不循環(huán)。SQL> create sequence pemandl_seq start with 140001 Increment by 1 nocache ;序已創(chuàng)建。5. 3索引的設(shè)計在builds 表中的room_id列上創(chuàng)建名為"builds_room_index ”的平衡索引樹。SQL> create index builds_roon_index on builds(room_id> tablespace Lndx;索引已創(chuàng)建口在 employees 表中的 employee_name歹U上創(chuàng)建名為 "employee_name_ind
38、ex "的平衡索弓I樹。SQLcreate index enployee_nanie_index un enplovees (employee_nane> tablespace ind x;索引已創(chuàng)建口在collection 表中的contract_id 列上創(chuàng)建名為"collection_index ”的平衡索引樹。SQLcreate index collectian_index on collection<contract_id) tablespace indx;黑引已創(chuàng)建.在 order_customer 中的 order_name 歹U上創(chuàng)建名為&quo
39、t;order_customer_index "的平衡索弓I樹。SQL> create index order_custoner_index on ordEt*_custoinet*<order_nane> tablespace indx ;索引已創(chuàng)建。在order中的contract_id 列上創(chuàng)建名為"order _index ”的平衡索 引樹。SQL> cpeace index ordei*_index on oder<conci*Act_id) tAblespace indx;索引已創(chuàng)建.4. 4視圖的設(shè)計創(chuàng)建名為“ customer_view ”的視圖,用于查詢預(yù)定客戶編號,客戶姓名,性別,年齡,職務(wù),身份
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 返租合同的協(xié)議
- 合伙協(xié)議合同范本4人
- 古代書畫買賣合同協(xié)議
- 企業(yè)與食堂水電協(xié)議合同
- 合同協(xié)議六人怎樣稱呼
- 購買鏡子合同協(xié)議書范本
- 蛋糕學(xué)徒合同協(xié)議
- 暫停租賃合同協(xié)議
- 設(shè)備場地租賃協(xié)議合同書
- 員工合同協(xié)議生效
- DB35T 2060-2022 居家社區(qū)養(yǎng)老服務(wù)第三方評估規(guī)范
- 三維地籍解決方案白皮書
- 《國家學(xué)生體質(zhì)健康標(biāo)準(zhǔn)》登記卡
- 住院患者VTE相關(guān)評估量表課件
- 高中物理選修二第一章《安培力與洛倫茲力》測試題(含答案解析)
- 個體餐飲員工簡易合同范本
- 2024年全國《勞動教育》基礎(chǔ)知識考試題庫與答案
- 非煤礦山安全教育培訓(xùn)試卷(答案)
- 江蘇省徐州市睢寧縣2023-2024學(xué)年七年級下學(xué)期期中考試數(shù)學(xué)試卷(含答案)
- 2024年北京市離婚協(xié)議書范文范本電子版
- 廣告設(shè)計制作服務(wù)方案
評論
0/150
提交評論