freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

數(shù)據(jù)庫課程設(shè)計(jì)-網(wǎng)絡(luò)商城管理系統(tǒng)-資料下載頁

2025-08-16 19:56本頁面
  

【正文】 ct 7,39。女鞋39。,2,1 union all select 8,39。帆布39。,3,7 union all select 9,39。高幫39。,3,7 union all select 10,39。單鞋39。,3,7 union all ..................此處省略某些數(shù)據(jù) select 349,39。園藝39。,3,344如果存在上傳文件表,則刪除if exists(select * from sysobjects where name =39。tb_uploadfile39。)drop table tb_uploadfile。創(chuàng)建上傳文件表CREATE TABLE tb_uploadfile ( id int NOT NULL identity(1,1), 文件編號(hào)(系統(tǒng)自動(dòng)增加) path varchar(255) NOT NULL, 文件路徑 PRIMARY KEY (id) 設(shè)置文件編號(hào)為主鍵)。將上一個(gè)表的identity_insert,打開本表的identity_insert。set identity_insert tb_productcategory offset identity_insert tb_uploadfile on文件表初始化INSERT INTO tb_uploadfile (id,path)select 1,39。39。 union allselect 2,39。39。如果存在產(chǎn)品信息表,則刪除if exists(select * from sysobjects where name =39。tb_productinfo39。)drop table tb_productinfo。創(chuàng)建產(chǎn)品信息表CREATE TABLE tb_productinfo ( id int NOT NULL identity(1,1), 產(chǎn)品編號(hào)(系統(tǒng)自動(dòng)增長) name varchar(100) NOT NULL, 產(chǎn)品名稱 description text, 產(chǎn)品描述 createTime datetime DEFAULT NULL, 創(chuàng)建時(shí)間 baseprice float DEFAULT NULL, 采購價(jià)格 marketprice float DEFAULT NULL, 市場(chǎng)價(jià)格 sellprice float DEFAULT NULL, 銷售價(jià)格 sexrequest varchar(5) DEFAULT NULL, 款式(男款或女款) mend bit DEFAULT NULL, 是否推薦 clickcount int DEFAULT NULL, 瀏覽量 sellCount int DEFAULT NULL, 銷售量 categoryId int DEFAULT NULL, 類別編號(hào) uploadFile int DEFAULT NULL unique, 文件編號(hào)(圖片) PRIMARY KEY (id), 設(shè)產(chǎn)品編號(hào)為主鍵 CONSTRAINT FK28A6CDEC3E1DFEF5 FOREIGN KEY (uploadFile) REFERENCES tb_uploadfile (id), 外鍵引用文件表主鍵 CONSTRAINT FK28A6CDEC487D8DAB FOREIGN KEY (categoryId) REFERENCES tb_productcategory (id) 外鍵引用產(chǎn)品類別主鍵)。將上一個(gè)表的identity_insert,打開本表的identity_insert。set identity_insert tb_uploadfile offset identity_insert tb_productinfo on表初始化INSERT INTO tb_productinfo (id,name,description,createTime,baseprice,marketprice,sellprice,sexrequest,mend,clickcount,sellCount,categoryId,uploadFile)values(1,39。Objectc39。,39。Objectc39。,39。20111220 13:40:2539。,98,150,120,39。BOY39。,1,17369,2,330,1)。 如果存在管理員表,則刪除if exists(select * from sysobjects where name =39。tb_user39。)drop table tb_user。創(chuàng)建管理員表CREATE TABLE tb_user ( id int NOT NULL identity(1,1), 管理員編號(hào)(系統(tǒng)自動(dòng)增長) username varchar(50) NOT NULL, 管理員名稱 password varchar(50) NOT NULL, 管理員密碼 PRIMARY KEY (id) 設(shè)置管理員編號(hào)為主鍵)。將上一個(gè)表的identity_insert,打開本表的identity_insert。set identity_insert tb_productinfo offset identity_insert tb_user on管理員表初始化INSERT INTO tb_user (id,username,password) VALUES (1,39。admin39。,39。admin39。)。set identity_insert tb_user off 項(xiàng)目架構(gòu)圖示 在開發(fā)工具eclipse中的此項(xiàng)目的代碼結(jié)構(gòu): 商品類別修改界面網(wǎng)絡(luò)商城管理系統(tǒng) 總 結(jié)總 結(jié)做這次課程設(shè)計(jì)學(xué)到了很多東西,不像以前一樣只需考慮好大概有幾張表就開始動(dòng)手做項(xiàng)目。那樣顯得不是很規(guī)范,雖然那樣效率會(huì)相對(duì)來說比較高,成果會(huì)比較快。但是假如遇到復(fù)雜的數(shù)據(jù)庫系統(tǒng),考慮的不周全很有可能會(huì)對(duì)數(shù)據(jù)庫進(jìn)行重構(gòu),這樣會(huì)很致命的。所以必須從最根本的可行性分析開始一步步踏實(shí)的做起,再到項(xiàng)目的需求分析,做好項(xiàng)目大致需求的概述,然后進(jìn)行概念和邏輯設(shè)計(jì),基本就知道大概有多少張表。初步規(guī)劃好之后進(jìn)行物理設(shè)計(jì),才開始著手項(xiàng)目的開發(fā)。項(xiàng)目使用了SSH(Spring3+Struts2+Hibernate3)的敏捷開發(fā)技術(shù)。運(yùn)用了MVC的多層架構(gòu),結(jié)構(gòu)清晰??紤]到系統(tǒng)的安全性,所有的頁面都放在了項(xiàng)目的WEBINF下。這樣就算你知道具體的頁面地址,你在地址欄上輸入也無法進(jìn)入。其次使用了struts2進(jìn)行前端的控制和權(quán)限的攔截也增加了系統(tǒng)的安全性。系統(tǒng)的事物與日志等交由Spring處理,代碼中使用注解的方式將業(yè)務(wù)交由Spring托管,減少了Spring配置文件的代碼量。由于系統(tǒng)較小Hibernate配置文件中沒有加入數(shù)據(jù)庫連接池的管理。減少了系統(tǒng)的復(fù)雜性。綜上所述,做好一個(gè)項(xiàng)目必須有良好的數(shù)據(jù)庫設(shè)計(jì)及文檔設(shè)計(jì),讓項(xiàng)目更規(guī)范,更安全,更高效率。 網(wǎng)絡(luò)商城管理系統(tǒng) 參考文獻(xiàn)參 考 文 獻(xiàn)[1] 陸琳, Server 2005[M].長沙:中南大學(xué)出版社,2010[2] 何旭洪,[M].北京:人民郵電出版社,2003[3] 王小玲,[M].北京:中國鐵道出版社,2008[4] 施伯樂,丁寶康,[M].:高等教育出版社,2008[5] 程云志,張帆, Server2005應(yīng)用教程 [M].北京:機(jī)械工業(yè)出版社,2006[6] 苗雪蘭,劉瑞新,[M].北京:機(jī)械工業(yè)出版社,2006[7] 李春葆,:基于SQL Server200[M].北京:清華大學(xué)出版社,2006[8] 寧洪,趙文濤,[M].北京:北京郵電大學(xué)出版社,2005[9] [M].:清華大學(xué)出版社,2004[10] Patrick O’Neil,Elizabeth O’Neil. 數(shù)據(jù)庫原理、編程與性能[M].:Morgan Kaufmann,2001
點(diǎn)擊復(fù)制文檔內(nèi)容
法律信息相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1