【正文】
57所示: 滿意 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 第 19 頁 共 50 頁 否 產(chǎn)品報價 修改產(chǎn)品數(shù)量或名稱 兼容性 生成報價單 圖 58 購物流程圖 確定生成報價單 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 第 20 頁 共 50 頁 6 系統(tǒng) 實現(xiàn) 用戶模塊 實現(xiàn) ◆ 查詢:按分類、品牌、名稱、產(chǎn)地、價格范圍輸入查詢條件,單擊查詢按鈕,查詢成功。 Vector vector=new Vector()。 ((products_discount))。 } return vector。 ◆ 用戶注冊:輸入用戶名、密碼、 Email 及用戶的地址信息,其中帶 *號位必填內(nèi)容,密碼及密碼確認(rèn)要求一致,單擊申請按鈕提交注冊,注冊成功。 user_tel=errmsg。 }else user_pass=getStr((user_pass))。 }else user_adds=getStr((user_adds))。 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 第 24 頁 共 50 頁 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è)計說明書 第 32 頁 共 50 頁 (message, 密碼錯誤,請確認(rèn)管理權(quán)限! )。 switch (flag){ case : List list = (username)。 (sysdir+/).forward(request, response)。 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 第 31 頁 共 50 頁 (1200)。 ◆ 用戶管理 實現(xiàn)部分功能的部分代碼: public class AdminServlet extends HttpServlet { public AdminServlet() { super()。 (admin)amp??沙晒ι蓤髢r單。 (user_namec,user_namec)。+user_name+39。 founderr=true。 }else user_pass=(user_pass)。 user_tel=errmsg。當(dāng)修改資料合格要求時,可修改成功。 where user_name=39。 if(!()){ (font size=4 color=red你輸入的用戶不存在 !/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)品入庫兩個步驟,當(dāng)管理員添加完產(chǎn)品信息后,單擊入庫按鈕進(jìn)入產(chǎn)品入庫頁面,對其價格庫存進(jìn)行修改。如果未查詢到 產(chǎn)品,則重新輸入查詢條件。首先,單擊用戶登錄進(jìn)入用戶登錄界面。如果報價單合格,就對該報價單進(jìn)行審定,否則,刪除該報價單。 (4)留言管理:對用戶留言的管理,包括回復(fù)留言、刪除留言。 (4)打印報價單模塊:提供給消費者產(chǎn)品報價以及所查詢產(chǎn)品之間的兼容性(比如電腦產(chǎn)品:如果產(chǎn)品 在選取配件時,需要檢測配件之間是否存在兼容性。 經(jīng)過分析,此數(shù)據(jù)庫包含如下表 : ◆ product 表:產(chǎn)品信息表(產(chǎn)品 ID、產(chǎn)品名稱、產(chǎn)品價格、產(chǎn)品類型等)。 ◆ 可靠性:系統(tǒng)提供完善的權(quán)限管理及強大的數(shù)據(jù)備份功能,確保數(shù)據(jù)的安全、完整、有效、一致。 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 第 8 頁 共 50 頁 ◆ 運行可行性:本系統(tǒng)運行可運行在 windows2020/2020/XP 操作系統(tǒng)下,裝有 JDK、JSP 以及 SQL Sever 2020。本系統(tǒng)使用戶更方便、準(zhǔn)確的查詢到滿意的產(chǎn)品,使管理員更快捷、高效的對后臺進(jìn)行管理,提高辦公效率。 管理員通過管理員身份登錄,對系統(tǒng)進(jìn)行全面的管理。它給數(shù)據(jù)的管理與分析帶來了很大的靈活性,允許用戶在快速變化的環(huán)境中從容響應(yīng),以獲得競爭優(yōu)勢。 JDK 是可以從網(wǎng)上免費下載的 Java 開發(fā)工具集。 JSP 規(guī)范是 Web 服務(wù)器、應(yīng)用服務(wù)器、交易系統(tǒng)、以及開發(fā)工具供應(yīng)商間廣泛合作的結(jié)果。 這種驅(qū)動程序通常用于 applet 和其它高度分布的應(yīng)用程序。對于分布式應(yīng)用程序,這種需求會產(chǎn)生額外的許可證問題,還可能帶來可怕的潛在代碼分布問題。第一個類DriverManager 是在 JDBC API 中提供的為數(shù)不多的實際類。如何實現(xiàn)低成本的運作,實現(xiàn)消費者價值的最大化,是網(wǎng)上購物經(jīng)營者首先需要考慮的問題。龐大的用戶群必將為 網(wǎng)上 購物市場注入強勁的活力。管理員有權(quán)在后臺面板進(jìn)行用戶管理(包括審核、查看、編輯與添加)、報價 單管理和留言管理以及一些常規(guī)的設(shè)置和數(shù)據(jù)庫管理(包括備份和恢復(fù))等操作。為了便于用戶在千萬計的產(chǎn)品中通過對不同制造商、不同產(chǎn)地 的產(chǎn)品的價格、性能等參數(shù)進(jìn)行比較,快速的找到自己需要的產(chǎn)品,盡可能縮短購買時間,并在制造商和消費者之間建立一個高效的平臺,采用簡潔高效的 JSP語言與 SQL Server 數(shù)據(jù)庫等技術(shù),并借鑒了開源社區(qū)中最經(jīng)典的技術(shù)思想和開發(fā)模式,設(shè)計和開發(fā)了這一產(chǎn)品報價系統(tǒng)。管理員在后臺設(shè)置產(chǎn)品的類別、制造商信息以及對不同的產(chǎn)品進(jì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è)計說明書 產(chǎn)品報價系統(tǒng)的設(shè)計與開發(fā) 學(xué)生姓名: 學(xué)號: 學(xué) 院: 專 業(yè): 指導(dǎo)教師: 2020 年 6 月 陳瑞芳 0821940308 軟件學(xué)院 軟件技術(shù) 馮傳春 中北大學(xué) 2020 屆畢業(yè)設(shè)計說明書 產(chǎn)品報價系統(tǒng)設(shè)計與開發(fā) 摘要 產(chǎn)品 報價系統(tǒng)對于企業(yè)適應(yīng)計劃經(jīng)濟向市場經(jīng)濟的轉(zhuǎn)變,滿足在市場經(jīng)濟條件下,企業(yè)在收到產(chǎn)品的市場需求 信息后,能夠快速做出反應(yīng),及時、準(zhǔn)確的向用戶提供產(chǎn)品的建議價格具有重要意義。 關(guān)鍵詞 :產(chǎn)品查詢,產(chǎn)品報價, JSP,數(shù)據(jù)庫 中北大學(xué) 2020 屆畢業(yè)設(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è)計說明書 第 I 頁 共 II 頁 目 錄 1 引言 ............