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

正文內(nèi)容

畢業(yè)設(shè)計(jì)論文:基于j2ee結(jié)構(gòu)的網(wǎng)上商城的設(shè)計(jì)與實(shí)現(xiàn)(編輯修改稿)

2024-07-12 16:40 本頁面
 

【文章內(nèi)容簡介】 j s p定 單 瀏 覽O r d e r b r o w s e r . j s p交 易 記 錄 瀏 覽T r a n s a c t i o n b r o w s e . j s p 圖 212 各系統(tǒng)模塊的關(guān)系及基本流程 數(shù)據(jù)庫設(shè)計(jì) 類別表( category) 字段名稱 類型 約束 描述 category_id integer pk 類別 id Parent_id integer not null 父類別 id Name varchar(128) not null 類別名 Description varchar(512) / 類別說明 Trun Int(10) Not null 目錄的排序 商品表( product) 字段名稱 類型 約束 描述 product _id integer auto_increment/ 商品 id 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 7 pk Name varchar(40) not null 商品名 fixed_price Double not null 商品訂價(jià)單價(jià) dang_price Double Not nul 商城買價(jià) Author varchar(128) not nul 作者 Publish varchar(256) not nul 出版社 Pages int / 頁數(shù) product_pic varchar(128) / 圖片 Description varchar(512) / 描述 用戶 表( users) 字段名稱 類型 約束 描述 Id int(12) not null 用戶主鍵 Nickname varchar(20) not null 用戶昵稱 Password varchar(12) not null 密碼 Email varchar(32) not null Email user_integral int(12) default 39。039。 用戶積分 is__verify char(3) / 郵箱是否激活 _verify_code varchar(32) default NULL 郵箱激活碼 last_login_time int(20) default NULL 最后登錄時(shí)間 last_login_ip varchar(15) default NULL 最后登錄 IP 收件人地址表( receive_address) 字段名稱 類型 約束 描述 Id int(12) pk 地址 id receive_name varchar(20) not null 收件人姓名 full_address varchar(64) not null 地址全稱 user_id int(11) not null 用戶 ID postal_code varchar(8) not null 郵編 Mobile varchar(15) default null 手機(jī) Phone varchar(20) default null 固定電話 選購條目表( item) 字段名稱 類型 約束 描述 Id int(10) pk 條目 id product_id int(10) not null 商品 ID order_id int(10) not null 訂單 id product_name varchar(100) not null 商品名稱 dang_price double not null 商品價(jià)格 product_num int(10) not null 購買數(shù)量 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 8 訂單表( order) 字段名稱 類型 約束 描述 Id int auto_increment / pk 訂單 id user_id int(10) not null 用戶 ID Status Int not null 訂單狀態(tài) order_time Int(20) not null 訂單時(shí)間 order_desc varchar(200) default null 訂單描述 total_price double not null 訂單總金額 訂單項(xiàng)表( orderline) 字段名稱 類型 約束 描述 orderline_id integer auto_increment / pk 訂單項(xiàng) id orders_id integer not null 訂單 id product_id integer not null 商品 id Amount numeric(20,2) not null 商品數(shù)量 領(lǐng)域模型 類名 屬性封裝 功能說明 AuthorizeAction user validateCode 封裝從頁面提交過來用戶信息 AuthorizeVerifyAction VerifyCode 封裝系統(tǒng)生成郵箱激活碼 LoginAction user 封裝頁面提交過來的用戶登錄信息 RedriectAction url 根據(jù)業(yè)務(wù)邏輯處理結(jié)果跳轉(zhuǎn)到相關(guān)頁面 類名 屬性封裝 功能說明 OrderAction order 根據(jù)購物車信息生成用戶訂單 OrderAction mapAddress 從數(shù)據(jù)庫中取該用戶上次提交的地址信息 OrderAction address 封裝用戶輸入的一個(gè)全新地址 類名 屬性封裝 功能說明 CartAction cartItems 所選購商品信息條目 CartAction savePrice 通過本商城購買商品共結(jié)省的費(fèi)用 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 9 CartAction totalPrice 此次交易商品的總費(fèi)用 類名 屬性封裝 功能說明 CategoryAction listCates 當(dāng)前目錄下所包含的子目錄 BookListAction books 在所選目錄下所包 含的商品列表信息 HotAction hotBooks 最近熱賣的商品 NewAction newBooks 最新上架的商品 RemendAction remendBooks 商家推薦的商品 業(yè)務(wù)模型 方法 功能說明 參數(shù)說明 返回值說明 publicvoid addCartItem(CartItem cartItem)。 publicvoid deleteCartItem(CartItem cartItem)。 publicvoid recoveyCartItem(CartItem cartItem)。 publicvoid updateCartItem(CartItem cartItem)。 publicdouble totalPrice()。 publicdouble savePrice()。 publicvoid clearCart()。 增加條目 刪除條目 恢復(fù)上次刪除的條目 更新商品數(shù)量 總價(jià)格 省下的費(fèi)用 清空購物車 將用戶所選購的商品封裝成一個(gè)條目增加到購物車 要刪除的條目 要恢復(fù)的條目 要更新的條目 將購物車清空 // // // // // 遍歷每一商品算出總價(jià)格 通過本商城購買所省下的總費(fèi)用 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 10 方法定義 功能說明 參數(shù)說明 返 回 值類型 public ListItem createOrderItems(CartService cartService)。 public Order createOrder(ListItem items,CartService cartService)。 public MapInteger,ReceiveAddress getReceiveAddressList(Integer userId)。 publicvoid submitOrder(User user, ReceiveAddress address, Order order)。 創(chuàng)建訂單列表 根據(jù) Session 中存儲的信息生成order 根據(jù) userId 查出用戶之前用過的地址 提交訂單 購物車業(yè)務(wù)對象 購物車業(yè)務(wù)對象 訂單列表 用戶 ID 用戶、用戶地址、訂單對在象 訂單列表 訂單對象 用戶 —地址映射列表 無 . 方法定義 功能說明 參數(shù)說明 返回值類型 public User addUser(User user, HttpServletRequest request)。 public User updateUser(User user)。 public User findByEmail(String )。 public User findById(Integer id)。 public User 增加新用戶 更新用戶信息 根據(jù)郵箱找到用戶 根據(jù)用戶 ID 查找用戶 表單提交過來的用戶信息 用戶對象 郵箱地址 用戶 ID 新用戶對象 用戶對象 用戶對象 用戶對象 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 11 validateUser(User user,HttpServletRequest request)。 publicvoid logout(MapString, Object session)。 publicboolean activeUser(String VerifyCode, MapString, Object session)。 注銷用戶 根據(jù)郵箱驗(yàn)證碼激活用戶 Session 中的用戶 Session ,激活碼 無 激活成功與否 . 方法定義 功能說明 參數(shù)說明 返回值類型 public ListCategory createCategory(Integer parentId)。 public Category findCatById(Integer id)。 public CurrentBooks getCurrrentBooks(Category category, Integer sc, Integer ssc, Integer page, int pageSize)。 根據(jù)父類目錄 ID 加載所有子目錄 根據(jù) ID 找到某一目錄 獲取當(dāng)前目錄下的商品信息 父類目錄 ID 所需要查找的 ID 當(dāng)前目錄、分頁查詢條件 目錄列表 目錄對象 商品信息 商丘職業(yè)技術(shù)學(xué)院軟件技術(shù)畢業(yè)論文 12 3.用例實(shí)現(xiàn) 功能概述 系統(tǒng)功能模塊分為以下幾部分:前臺營業(yè),后臺管理,后臺服務(wù)。 前臺運(yùn)營 、登錄 /登出 登錄 退出登錄狀態(tài) 重新登錄 分類瀏覽商品列表 最新上架商品、商家推薦、商品熱賣榜 3. 購物車 將所需商品添加到購物車 修改所購買商品數(shù)目 刪除不滿意的商品 恢復(fù)上次誤刪的商品 結(jié)算 清空購物車 4. 訂單生成 查找該用戶以前所填寫的收件地址 全新輸入一個(gè)收貨地址 確
點(diǎn)擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計(jì)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1