网上送花系统设计文档

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1网上送花系统详细设计1.领域类图查询条件省会话角色业绩报告市分部产品类别购物车收藏架用户地区地址产品分类购物车项收藏架项联系办法客户类别收货人生产单收花留言送花留言订单状态产品客户订单付款类别付款2.系统的基本架构2界面层(Web)数据读写层(DAL)业务逻辑层(BLL)模型层(VO)3.用例实现3.1登录系统3.1.1实现依赖关系登录系统(fromIncludedUseCases)登录系统3.1.2参与类3.1.3主要流程3:游客:游客:LoginPage:LoginPage:CustomerBiz:CustomerBiz:Customer:CustomerLogin()LoginVerify()GetCustomerInfoById()3.2注册3.2.1实现依赖关系注册(from游客)注册3.2.2参与类3.2.3主要流程4:游客:游客:RegisterPage:RegisterPage:CustomerBiz:CustomerBiz:Customer:CustomerTestCustomerId()TestCustomerId()GetCustomerInfoById()SubmitRegister()VerifyRegisterInfo()TestCustomerId()GetCustomerInfoById()AddCustomer()InsertCustomer()3.3浏览网页3.3.1实现依赖关系浏览网页(fromIncludedUseCases)浏览网页3.3.2参与类5DefaultPage(from界面层(W...FlowerCatalogPage(from界面层(W...FlowerDetailPage(from界面层(W...Product(from数据读写层(D...ProductClass(from数据读写层(DAL))ProductType(from数据读写层(DAL))ProductBiz(from业务逻辑层(B...3.3.3主要流程6:游客:游客:DefaultPage:DefaultPage:FlowerCatalogPage:FlowerCatalogPage:FlowerDetailPage:FlowerDetailPage:ProductBiz:ProductBiz:Product:ProductOnLoad()GetProductTypeList()GetRecommendProductList()GetHotspotProductList()GetTypeList()GetRecommendList()GetHotspotList()ShowCatalog()Load()GetCatologList()ShowDetail()Load()GetFlowerDetail()GetFlowerInfo()GetCatalogList()3.4订购鲜花3.4.1实现依赖关系订购鲜花(from游客)订购鲜花realize3.4.2参与类73.4.3主要流程:游客:游客:FlowerDetailPage:FlowerDetailPage:Cart:Cart:Favi:FaviBuy(ProductId)Store(ProductId)Add()Add()3.5维护购物车83.5.1实现依赖关系维护购物车(from游客)维护购物车realize3.5.2参与类3.5.3主要流程:游客:游客:CartPage:CartPage:Cart:Cart:Favi:FaviStore()Remove()Add()Buy()Remove()Add()Edit()Update()93.6付款3.6.1实现依赖关系付款(from客户)付款3.6.2参与类3.6.3主要流程:PaymentBiz:PaymentBiz:客户:客户:OrderPage:OrderPage:LocationBiz:LocationBiz:Province:Province:City:City:Area:Area:OrderBiz:OrderBiz:CustomerBiz:CustomerBiz:Order:Order:Payment:Payment:Consignee:Consignee:CustomerWords:CustomerWordsNextClicked()UpdateCustomerInfo()VerifyOrderInfo()PaymentClicked()PostPayment()Create()ProduceOders()Save()Create()Create()OnLoad()GetProvinceList()GetProvinces()GetCityList()GetAreaList()GetCities()GetAreas()10:PaymentSite:PaymentSite:PaymentSuccessedPage:PaymentSuccessedPage:PaymentBiz:PaymentBiz:OrderBiz:OrderBiz:Payment:Payment:Order:OrderLoad()PaymanetSuccessed()UpdatePaymentState()CheckOrderPayment()UpdateOrderState()3.7查看订单3.7.1实现依赖关系查看订单(from客户)查看订单3.7.2参与类3.7.3主要流程11:客户:客户:MemberHomePage:MemberHomePage:OrderBiz:OrderBiz:Order:OrderOnLoad()GetCustomerOrders()GetOrdersByCustomerId()DeleteOrder()UpdateOrderState()UpdateOrderState()3.8修改客户资料3.8.1实现依赖关系修改客户资料(from客户)修改客户资料3.8.2参与类3.8.3主要流程12:客户:客户:MemberInfoPage:MemberInfoPage:CustomerBiz:CustomerBiz:Customer:CustomerOnLoad()GetCustomerInfo()GetCustomerInfoById()SubmitCustomerInfo()UpdateCustomerInfo()Update()3.9修改密码3.9.1实现依赖关系修改密码(fromIncludedUseCases)修改密码3.9.2参与类3.9.3主要流程13:客户:客户:MemberHomePage:MemberHomePage:CustomerBiz:CustomerBiz:Customer:CustomerSubmitPwd()ModifyPwd()Update()4.模型层(VO)4.1Address序号属性名属性类型缺省值备注1StreetNameString2RoadNameString3DoorNumberString4ZipCodeString4.2AreaInfo序号属性名属性类型缺省值备注1ObjIdInt2NameString2theCityInfoCityInfo4.3CartItem序号属性名属性类型缺省值备注1ComObjId2ComName3ComDsc4ImgPath5LargImgPath6Price7RealPrice8Qty4.4CityInfo序号属性名属性类型缺省值备注141ObjId2Name3theProvinceInfoProvinceInfo4.5ConsigneeInfo序号属性名属性类型缺省值备注1ObjId2Name3theAddressAddress4theCityInfoCityInfo5theContactMsgContactMsg6theAreaInfoAreaInfo4.6ContactMsg序号属性名属性类型缺省值备注1OfficePhone2MobilePhone3Email4HomePhone5QQNumber4.7CustomerInfo序号属性名属性类型缺省值备注1ObjId2CustomerId3Password4theContactMsgContactMsg5theCustomerTypeInfoCustomerTypeInfo4.8CustomerTypeInfo序号属性名属性类型缺省值备注1ObjId2TypeName3MinSpending4.9CustomerWordsInfo序号属性名属性类型缺省值备注1ObjId2Words3theOrderInfoOrderInfo4.10DivisionInfo序号属性名属性类型缺省值备注151ObjId2Name3theAreaInfoAreaInfo4theAddressAddress4.11OrderInfo序号属性名属性类型缺省值备注1ObjId2Amt3OrderTime4theCustomerInfoCustomerInfo5theProductInfoProductInfo6theConsigneeInfoConsigneeInfo7theOrderStateOrderState8thePaymentInfoPaymentInfo9theClerkUserInfo10theSenderUserInfo4.12OrderState(枚举类型)序号属性名属性类型缺省值备注1Initial02Paied13Planned24Produced35Assigned46Dispatched57Deleted64.13PaymentInfo序号属性名属性类型缺省值备注1ObjId2Amount3AccountName4AccountNo5TransTime6TransNo7thePaymentStatePaymentState8thePaymentTypeInfoPaymentTypeInfo4.14PaymentState(枚举类型)序号属性名属性类型缺省值备注1Initial02Paied1163Synchronized24.15PaymentTypeInfo序号属性名属性类型缺省值备注1ObjId2TypeName3Url4MethodName5SmallImg6BigImg4.16PriceListInfo序号属性名属性类型缺省值备注1ObjId2RealPrice3theCustomerTypeInfoCustomerTypeInfo4theProductInfoProductInfo4.17ProductClassInfo序号属性名属性类型缺省值备注1ObjId2theProductTypeInfoProductTypeInfo3theProductInfoProductInfo4.18ProductInfo序号属性名属性类型缺省值备注1ObjId2ProductName3Price4ProductId5Feature6Description7Meaning8Price9SmallImg10BigImg11theProductStateProductState4.19ProductState(枚举类型)序号属性名属性类型缺省值备注1Normal02Deleted1174.20ProductTypeInfo序号属性名属性类型缺省值备注1ObjId2ClassifyType3TypeName4.21ProvinceInfo序号属性名属性类型缺省值备注1ObjId2Name4.22ReceiptInfo序号属性名属性类型缺省值备注1ObjId2ReceiptFile扫描文件名3theOrderInfoOrderInfo4.23RoleInfo序号属性名属性类型缺省值备注1ObjId2Name4.24UserInfo序号属性名属性类型缺省值备注1ObjId2UserId3UserName4Password5theRoleInfo

1 / 19
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功