【正文】
同時(shí),在制作過程中遇到了不少問題和困難,通過查閱書籍及互聯(lián)網(wǎng)得到了不少的幫助,本次論文主要研究的內(nèi)容主要包括:分析研究了本課題的開發(fā)背景和課題的研究意義,對此次畢業(yè)設(shè)計(jì)進(jìn)行了詳盡的需求分析,并根據(jù)實(shí)際需求,分析系統(tǒng)的業(yè)務(wù)流程及用例,概要設(shè)計(jì)了系統(tǒng)的功能模塊,詳細(xì)設(shè)計(jì)了系統(tǒng)所使用的數(shù)據(jù)庫表,并研究了該系統(tǒng)的ER圖,倉庫管理系統(tǒng)采用的后臺數(shù)據(jù)庫為SQL Sever,該數(shù)據(jù)庫在設(shè)計(jì)與開發(fā)的過程中也起到了至關(guān)重要的作用,體現(xiàn)了該數(shù)據(jù)庫系統(tǒng)的強(qiáng)大功能系統(tǒng)簡潔、易使用、易維護(hù)、適用非計(jì)算機(jī)人員使用。 系統(tǒng)數(shù)據(jù)庫測試由于系統(tǒng)的各功能模塊分別對數(shù)據(jù)庫進(jìn)行增,刪,改,查操作,系統(tǒng)的數(shù)據(jù)庫冗余小,字段的數(shù)據(jù)類型設(shè)置較合理,實(shí)體間聯(lián)系比較完善。 圖 修改庫存信息功能 下面是修改庫存功能的主要代碼:public void doGet(HttpServletRequest request, HttpServletResponse response){ try { (UTF8)。amp。 // 總頁數(shù) // 查詢貨物信息集合(分頁) ResultSetrsProduct=((page),pageSize)。 // 貨物編號 StorageBLL storageBll = new StorageBLL()。 float buyPrice = ((txtBuyPrice))。 if(()){// 如果用戶信息存在 // 數(shù)據(jù)庫中密碼 String password = (LoginPwd)。貨物管理添加貨物修改貨物刪除貨物數(shù)據(jù)驗(yàn)證證數(shù)據(jù)不合法添加數(shù)據(jù)合法添加成功添加失敗顯示貨物信息輸入貨物信息數(shù)據(jù)驗(yàn)證數(shù)據(jù)不合法修改數(shù)據(jù)合法修改失敗修改成功 倉庫管理數(shù)據(jù)庫邏輯設(shè)計(jì)在進(jìn)行了該倉庫管理系統(tǒng)的數(shù)據(jù)庫概念設(shè)計(jì)之后,根據(jù)給出的實(shí)體結(jié)構(gòu)圖進(jìn)行了分析,得到該系統(tǒng)的數(shù)據(jù)庫邏輯設(shè)計(jì)如下:(1)Order訂單信息表(訂單編號、貨物數(shù)量、貨物編號、用戶編號、創(chuàng)建日期、更新日期)。 在建立數(shù)據(jù)模型的時(shí)候首先考慮是要避免重復(fù)數(shù)據(jù),也就是建立規(guī)范化數(shù)據(jù)庫。(4)訂單管理:能夠完成管理員對系統(tǒng)貨物庫存信息(訂單編號、貨物數(shù)量、貨物編號、用戶編號)的管理。(4)查詢功能:能夠通過查看相關(guān)貨物進(jìn)行確定、挑選,通過相關(guān)關(guān)鍵字進(jìn)行檢索。“SQL Server”中的SQL代表“Structured Query Language”(結(jié)構(gòu)化查詢語言)。 Web服務(wù)器在遇到訪問JSP網(wǎng)頁的請求時(shí),首先執(zhí)行其中的程序段,然后將執(zhí)行結(jié)果連同JSP文件中的HTML代碼一起返回給客戶。倉儲管理部門越來越需要一套低成本、高性能、方便使用、功能完善的綜合倉庫管理信息系統(tǒng)。Sql Server 2005Title :Design and Implementation Of Warehouse Management SystemAbstract:With the increasing development of society, especially the rapid development of science and technology, making China the cause has been an unprecedented breakthrough, not only improve the work efficiency, but also reduces the labor intensity. In order to meet the logistics needs, while greatly reducing the workload of pany staff, and prehensively improve the efficiency of the management of goods and services quality, MyEclipse for the environment, the development of this application software, the system is suitable for small logistics pany for the stock part of the article information transformation is the trend. Information management can optimize enterprise management processes and improve business efficiency and resource utilization, reduce business risk, build a bridge between enterprises and customers, and ultimately increase exponentially enterprise efficiency. Warehouse management system functions can be divided into four functional modules: user management module, modity management module, inventory management and order management module module. 3tier architecture that MVC, development platform is MyEclipse, database is Sql Server 2005. MVC is used to ply with software development practices, in order to make the software better efficiency and maintenance.Keywords: Warehouse Management System。采用MVC是為了符合軟件開發(fā)規(guī)范,以便使軟件具有更好的效率和維護(hù)?,F(xiàn)階段倉庫管理的特點(diǎn)是信息處理量特別大,所管理的物資設(shè)備種類繁多,而且入庫單、出庫單、需求單等單據(jù)的發(fā)生量特別大,關(guān)聯(lián)信息多,查詢和統(tǒng)計(jì)的方式各不相同。JSP技術(shù)使用Java編程語言編寫類XML的tags和scriptlets,來封裝產(chǎn)生動態(tài)網(wǎng)頁的處理邏輯。SQL Server是一個關(guān)系數(shù)據(jù)庫管理系統(tǒng):關(guān)系數(shù)據(jù)庫把數(shù)據(jù)存放在分立的表格中,這比把所有數(shù)據(jù)存放在一個大倉庫中要好得多,這樣做將增加你的速度和靈活性。(3)搜索功能:通夠?qū)ω浳镄畔⒌拿Q進(jìn)行搜索。(3)庫存管理:能夠完成管理員對系統(tǒng)貨物庫存信息(庫存編號、庫存數(shù)量、貨物編號、創(chuàng)建日期、更新日期)的管理。網(wǎng)上購物系統(tǒng)銷售管理子系統(tǒng)采用MYSQL作為后臺數(shù)據(jù)庫,根據(jù)數(shù)據(jù)庫工具和數(shù)據(jù)庫特點(diǎn),開發(fā)出一套可靠健壯的數(shù)據(jù)存儲方案。// 初始化用戶業(yè)務(wù)邏輯類 // 根據(jù)用戶名查詢用戶信息 ResultSet rsPerson = (loginName)。// 貨物名稱 (proName)。 // 庫存 (proId)。// 查詢貨物信息條數(shù) int pageCount = (count 1) / pageSize + 1。// 當(dāng)前頁碼 if(page != amp。 。訂單功能測試:購物車能否正確添加貨物,修改貨物數(shù)量和計(jì)算貨物金額等功能。通過對該系統(tǒng)的設(shè)計(jì)、開發(fā)和調(diào)試,一方面讓我了解了系統(tǒng)的開發(fā)過程與方法,另一方面,讓我掌握了MyEclipse開發(fā)工具的使用方法,熟悉了窗口、菜單以及一些可視化控件的使用方法。這次做論文的經(jīng)歷使我終身受益,它是自己真正的學(xué)習(xí)過程和研究過程,讓我學(xué)會了怎樣去看待自己在畢業(yè)設(shè)計(jì)整個過程遇到的問題,例如在編碼過程中細(xì)節(jié)問題和編寫論文時(shí)格式等問題要極其謹(jǐn)慎。(5)重復(fù)輸入提交信息。// 初始化庫存業(yè)務(wù)邏輯類 // 根據(jù)貨物編號查詢庫存信息 ResultSet rsStorage = ((proId))。 // 總頁數(shù) // 查詢庫存信息集合(分頁)