【正文】
57所示: 滿(mǎn)意 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 19 頁(yè) 共 50 頁(yè) 否 產(chǎn)品報(bào)價(jià) 修改產(chǎn)品數(shù)量或名稱(chēng) 兼容性 生成報(bào)價(jià)單 圖 58 購(gòu)物流程圖 確定生成報(bào)價(jià)單 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 20 頁(yè) 共 50 頁(yè) 6 系統(tǒng) 實(shí)現(xiàn) 用戶(hù)模塊 實(shí)現(xiàn) ◆ 查詢(xún):按分類(lèi)、品牌、名稱(chēng)、產(chǎn)地、價(jià)格范圍輸入查詢(xún)條件,單擊查詢(xún)按鈕,查詢(xún)成功。 Vector vector=new Vector()。 ((products_discount))。 } return vector。 ◆ 用戶(hù)注冊(cè):輸入用戶(hù)名、密碼、 Email 及用戶(hù)的地址信息,其中帶 *號(hào)位必填內(nèi)容,密碼及密碼確認(rèn)要求一致,單擊申請(qǐng)按鈕提交注冊(cè),注冊(cè)成功。 user_tel=errmsg。 }else user_pass=getStr((user_pass))。 }else user_adds=getStr((user_adds))。 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 24 頁(yè) 共 50 頁(yè) founderr=true。charset=GBK language=java import=.*, errorPage= % jsp:useBean id=mdb class= scope=page/ % boolean foundeer=false。 ResultSet rs。,user_lastip=39。 } } }else ()。 user_pass=errmsg。 if((user_pass).equals()){ errmsg=errmsg+密碼不能為空 ,。 }else user_tel=(user_tel)。 } else { user_name=(user_name)。 (user_postcode,user_postcode)。 } } ()。 String password = (password)。)。 AdminBean loginbean = new AdminBean()。 (sysdir+/).forward(request, response)。 String loginip = ()。 (sysdir+/).forward(request, response)。 String newpwd = ((newpwd).trim())。 break。 ()。 (sysdir+/system/).forward(request, response)。 int flag = (username, oldpwd, newpwd)。 case : 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 32 頁(yè) 共 50 頁(yè) (message, 密碼錯(cuò)誤,請(qǐng)確認(rèn)管理權(quán)限! )。 switch (flag){ case : List list = (username)。 (sysdir+/).forward(request, response)。 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 31 頁(yè) 共 50 頁(yè) (1200)。 ◆ 用戶(hù)管理 實(shí)現(xiàn)部分功能的部分代碼: public class AdminServlet extends HttpServlet { public AdminServlet() { super()。 (admin)amp??沙晒ι蓤?bào)價(jià)單。 (user_namec,user_namec)。+user_name+39。 founderr=true。 }else user_pass=(user_pass)。 user_tel=errmsg。當(dāng)修改資料合格要求時(shí),可修改成功。 where user_name=39。 if(!()){ (font size=4 color=red你輸入的用戶(hù)不存在 !/font)。 if(!foundeer){ if ((user_name)==null){ user_name=(user_name)。 sql=select * from member where user_name=39。 founderr=true。 founderr=true。 user_postcode=errmsg。 boolean founderr=false。 return null。 ((producter))。 _id((products_id))。 ResultSet rs=null。添加產(chǎn)品分為產(chǎn)品信息添加與產(chǎn)品入庫(kù)兩個(gè)步驟,當(dāng)管理員添加完產(chǎn)品信息后,單擊入庫(kù)按鈕進(jìn)入產(chǎn)品入庫(kù)頁(yè)面,對(duì)其價(jià)格庫(kù)存進(jìn)行修改。如果未查詢(xún)到 產(chǎn)品,則重新輸入查詢(xún)條件。首先,單擊用戶(hù)登錄進(jìn)入用戶(hù)登錄界面。如果報(bào)價(jià)單合格,就對(duì)該報(bào)價(jià)單進(jìn)行審定,否則,刪除該報(bào)價(jià)單。 (4)留言管理:對(duì)用戶(hù)留言的管理,包括回復(fù)留言、刪除留言。 (4)打印報(bào)價(jià)單模塊:提供給消費(fèi)者產(chǎn)品報(bào)價(jià)以及所查詢(xún)產(chǎn)品之間的兼容性(比如電腦產(chǎn)品:如果產(chǎn)品 在選取配件時(shí),需要檢測(cè)配件之間是否存在兼容性。 經(jīng)過(guò)分析,此數(shù)據(jù)庫(kù)包含如下表 : ◆ product 表:產(chǎn)品信息表(產(chǎn)品 ID、產(chǎn)品名稱(chēng)、產(chǎn)品價(jià)格、產(chǎn)品類(lèi)型等)。 ◆ 可靠性:系統(tǒng)提供完善的權(quán)限管理及強(qiáng)大的數(shù)據(jù)備份功能,確保數(shù)據(jù)的安全、完整、有效、一致。 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 8 頁(yè) 共 50 頁(yè) ◆ 運(yùn)行可行性:本系統(tǒng)運(yùn)行可運(yùn)行在 windows2020/2020/XP 操作系統(tǒng)下,裝有 JDK、JSP 以及 SQL Sever 2020。本系統(tǒng)使用戶(hù)更方便、準(zhǔn)確的查詢(xún)到滿(mǎn)意的產(chǎn)品,使管理員更快捷、高效的對(duì)后臺(tái)進(jìn)行管理,提高辦公效率。 管理員通過(guò)管理員身份登錄,對(duì)系統(tǒng)進(jìn)行全面的管理。它給數(shù)據(jù)的管理與分析帶來(lái)了很大的靈活性,允許用戶(hù)在快速變化的環(huán)境中從容響應(yīng),以獲得競(jìng)爭(zhēng)優(yōu)勢(shì)。 JDK 是可以從網(wǎng)上免費(fèi)下載的 Java 開(kāi)發(fā)工具集。 JSP 規(guī)范是 Web 服務(wù)器、應(yīng)用服務(wù)器、交易系統(tǒng)、以及開(kāi)發(fā)工具供應(yīng)商間廣泛合作的結(jié)果。 這種驅(qū)動(dòng)程序通常用于 applet 和其它高度分布的應(yīng)用程序。對(duì)于分布式應(yīng)用程序,這種需求會(huì)產(chǎn)生額外的許可證問(wèn)題,還可能帶來(lái)可怕的潛在代碼分布問(wèn)題。第一個(gè)類(lèi)DriverManager 是在 JDBC API 中提供的為數(shù)不多的實(shí)際類(lèi)。如何實(shí)現(xiàn)低成本的運(yùn)作,實(shí)現(xiàn)消費(fèi)者價(jià)值的最大化,是網(wǎng)上購(gòu)物經(jīng)營(yíng)者首先需要考慮的問(wèn)題。龐大的用戶(hù)群必將為 網(wǎng)上 購(gòu)物市場(chǎng)注入強(qiáng)勁的活力。管理員有權(quán)在后臺(tái)面板進(jìn)行用戶(hù)管理(包括審核、查看、編輯與添加)、報(bào)價(jià) 單管理和留言管理以及一些常規(guī)的設(shè)置和數(shù)據(jù)庫(kù)管理(包括備份和恢復(fù))等操作。為了便于用戶(hù)在千萬(wàn)計(jì)的產(chǎn)品中通過(guò)對(duì)不同制造商、不同產(chǎn)地 的產(chǎn)品的價(jià)格、性能等參數(shù)進(jìn)行比較,快速的找到自己需要的產(chǎn)品,盡可能縮短購(gòu)買(mǎi)時(shí)間,并在制造商和消費(fèi)者之間建立一個(gè)高效的平臺(tái),采用簡(jiǎn)潔高效的 JSP語(yǔ)言與 SQL Server 數(shù)據(jù)庫(kù)等技術(shù),并借鑒了開(kāi)源社區(qū)中最經(jīng)典的技術(shù)思想和開(kāi)發(fā)模式,設(shè)計(jì)和開(kāi)發(fā)了這一產(chǎn)品報(bào)價(jià)系統(tǒng)。管理員在后臺(tái)設(shè)置產(chǎn)品的類(lèi)別、制造商信息以及對(duì)不同的產(chǎn)品進(jìn)行屬性定制,建立專(zhuān)有的產(chǎn)品屬性字段。信息產(chǎn)業(yè)包括各種信息技術(shù)產(chǎn)品和信息產(chǎn)品的生產(chǎn)、應(yīng)用和服務(wù),即信息設(shè)備制造業(yè),軟件和系統(tǒng)集成業(yè)以及信息服務(wù)業(yè)三大部分,三者既相互聯(lián)系、相互依存又互相促進(jìn)、共同發(fā)展,它們之間的關(guān)系是密不可分的。 畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 產(chǎn)品報(bào)價(jià)系統(tǒng)的設(shè)計(jì)與開(kāi)發(fā) 學(xué)生姓名: 學(xué)號(hào): 學(xué) 院: 專(zhuān) 業(yè): 指導(dǎo)教師: 2020 年 6 月 陳瑞芳 0821940308 軟件學(xué)院 軟件技術(shù) 馮傳春 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 產(chǎn)品報(bào)價(jià)系統(tǒng)設(shè)計(jì)與開(kāi)發(fā) 摘要 產(chǎn)品 報(bào)價(jià)系統(tǒng)對(duì)于企業(yè)適應(yīng)計(jì)劃經(jīng)濟(jì)向市場(chǎng)經(jīng)濟(jì)的轉(zhuǎn)變,滿(mǎn)足在市場(chǎng)經(jīng)濟(jì)條件下,企業(yè)在收到產(chǎn)品的市場(chǎng)需求 信息后,能夠快速做出反應(yīng),及時(shí)、準(zhǔn)確的向用戶(hù)提供產(chǎn)品的建議價(jià)格具有重要意義。 關(guān)鍵詞 :產(chǎn)品查詢(xún),產(chǎn)品報(bào)價(jià), JSP,數(shù)據(jù)庫(kù) 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) Design of Product Quotation System Abstract Product quotation system for business to adapt to a planned economy to a market economy changes, to meet the market economy, enterprises in the receipt of products in the market demand information, to quickly respond timely and accurate remendations to customers products with price significance. Quotation system enables enterprises to implement the design stage of the product launch of the product cost control, can provide users with a prehensive, efficient service. The products quotation system which is a new one was based on the platform of NET, using techniques of SQL Server 2020 database and bining the practical conditions of the present main shopping websites. It includes two functional modules: manager module and user module, which realize the whole controlling over users, goods and orders and the functions of checking goods information and ordering them of users. Firstly, this paper defines the background and meanings of its development. And then it focuses on the process of realization through .NET technology, analyzing the processes of system, database design and functional design of the system in detail. During the development, it uses some front ponents to control the input information and check the information. It connects database through technology. During the analysis, it analyzes various data, laying out each functional module in detail and giving surface charts actives of main functions by data flow chart and systematical structure chart. Finally it achieves the due goal through the system checking. Keywords: Product inquire, products quotation, JSP , Database 中北大學(xué) 2020 屆畢業(yè)設(shè)計(jì)說(shuō)明書(shū) 第 I 頁(yè) 共 II 頁(yè) 目 錄 1 引言 ............