购物商城类图
2022-05-06 17:10:04 26 举报
购物商城主要类图
作者其他创作
大纲/内容
1
CartMapper
+ checkedOrUncheckedProduct()+ deleteByPrimaryKey()+ deleteByUserldProductlds()+ insert()+ insertSelective()+ selectByPrimaryKey()+ selectCartByUserld()+ selectCartByUserldProductld()+ selectCartProductCheckedStatusByUserld()+ selectCartProductCount()+ selectCheckedCartByUserld()+ updateByPrimaryKey()+ updateByPrimaryKeySelective()
Shipping
- id : Integer- userId : Integer- receiverName : String- receiverPhone : String- receiverMobile : String- receiverProvince : String- receiverCity : String- receiverDistrict : String- receiverAddress : String- receiverZip : String- createTime : Date- updateTime : Date
+ get()+ set()
Cart
- id : Integer- userId : Integer- productId : Integer- quantity : Integer- checked : Integer- createTime : Date- updateTime : Date
CartServicelmpl
- cartMapper- productMapper
+ add()+ deleteProduct()- getAlICheckedStatus()+ getCartProductCount()- getCartVoLimit ()+ list()+ selectOrUnSelect()+ update()
收货地址类图
UserServiceImpl
- userMapper
+ checkAdminRole()+ checkAnswer()+ checkValid()+ forgetResetPassword()+ getinformation()+ login()+ register ()+ resetPassword()+ selectQuestion()+ setSealRole()+ updatelnformation ()+ userAllList ()
ShippingController
- iShippingService
+ add()+ del()+ list()+ select()+ update()
购物车类图
ProductManageController
- iUserService- iProductService- iFleService
+ productSave()+ setSaleStatus()+ getDetail()+ deleteProduct()+ getList()+ productSearch()+ upload()+ richtextImgUpload()
用户类图
ShippingMapper
+ deleteByPrimaryKey()+ deleteByShippingldUserld()+ insert()+ insertSelective()+ selectByPrimaryKey()+ selectByShippingldUserld()+ selectByUserld()+ updateByPrimaryKey()+ updateByPrimaryKeySelective()+ updateByShipping()
订单类图类图
ProductMapper
+ deleteByPrimaryKey()+ insert()+ insertSelective()+ selectByNameAndCategorylds()+ selectByNameAndProductld()+ selectlyPrimarvkey()+ selectCount()+ selectList()+ selectStockByProductId()+ updateByPrimaryKeySelective()+ updateByPrimaryKey()
ProductController
- iProductservice
+ detail()+ list()
UserMapper
+ checkAnswer()+ checkEmail()+ checkPassword()+ checkUsername()+ deleteByPrimaryKey()+ insert()+ selectAllUser()+ selectByPrimaryKey()+ selectCount()+ selectLogin()+ selectQuestionByUsername()+ updateByPrimaryKey()+ updatePasswordByUsername()
<<create>>
OrderMapper
+ deleteByPrimaryKey()+ insert()+ insertSelective()+ selectByPrimaryKey()+ updateByPrimaryKeySelective()+ updateByPrimaryKey()+ selectByUserIdAndOrderNo()+ selectByOrderNo()+ selectByUserId()+ selectAllOrder()+ selectCount()+ selectOrderStatusByCreateTime()+ closeOrderByOrderId
UserManageController
- iUserService
+ login ()+ orderList()+ setSaleStatus ()
ICartService
+ add()+ deleteProduct()+ getCartProductCount()+ list()+ selectOrUnSelect()+ update()
商品类图
ShippingServicelmpl
- shippingMapper
CartController
- iCartService
+ list()+ add()+ deleteProduct()+ getCartProductCount()+ select()+ selectAll()+ unSelect()+ unSelectAll()+ update()
ProductServicelmpl
- productMapper- categoryMapper- iCategoryService
+ saveOrUpdateProduct()+ setSaleStatus()+ manageDeleteProduct()+ manageProductDetail()+ assembleProductDetailVo()+ getProductList()+ searchProduct()+ getProductDetail()+ getProductByKeywordCategory()
IUserService
IOrderService
+ pay()+ aliCallback()+ queryOrderPayStatus()+ createOrder()+ cancel()+ getOrderCartProduct()+ getOrderDetail()+ getOrderList()+ manageList()+ manageDetail()+ manageSearch()+ manageSendGoods()+ closeOrder()
OrderServicelmpl
- shippingMappe
+ aliCallback()+ cancel()+ closeOrder()+ createOrder()+ getOrderCartProduct()+ getOrderDetail()+ getOrderList()+ assembleOrderVoList()
IShippingService
UserController
+ checkValid()+ forgetCheckAnswer()+ forgetGetQuestion ()+ forgetRestPassword()+ getUserinfo()+ get_information ()+ login ()+ logout()+ register ()+ resetPassword()+ update_information ()
Order
- id : Integer- orderNo : Long- userId : Integer- shippingId : Integer- payment : BigDecimal- paymentType : Integer- postage : Integer- status : Integer- paymentTime : Date- sendTime : Date- endTime : Date- closeTime : Date- createTime : Date- updateTime : Date
CartVo
- cartProductVoList : List<CartProductVo>- cartTotalPrice : BigDecimal- allChecked : Boolean- imageHost : String
IProductService
+ getProductByKevwordCategory()+ getProductDetail()+ getProductlist()+ manageDeleteProduct()+ manageProductDetail()+ saveOrUpdateProduct()+ searchProduct()+ setSaleStatus()
Product
- id : Integer- categoryId : Integer- subtitle : String- mainImage : String- subImages : String- detail : String- price : BigDecimal- stock : Integer- status : Integer- createTime : Date- updateTime : Date
OrderControlle
- iOrderService
+ alinavCallback()+ cancel()+ create()+ detail()+ getOrderCartProduct()+ list()+ pay()+ queryOrderPayStatus()
User
- id : Integer - username : String- password : String- email : String- phone : String- question : String- answer : String- role : Integer- createTime : Date- updateTime : Date
0 条评论
下一页