order_vo
2016-12-26 10:47:52 0 举报
`order_vo` 是一个用于处理订单信息的视图对象(View Object)。它主要用于封装与订单相关的操作,如查询、创建、更新和删除订单等。通过使用 `order_vo`,我们可以更方便地对订单数据进行操作和管理。 `order_vo` 的主要功能包括: 1. 根据用户输入的参数,查询符合条件的订单信息; 2. 创建新的订单,并将其保存到数据库中; 3. 更新现有订单的信息; 4. 删除不再需要的订单。 通过使用 `order_vo`,我们可以提高代码的可读性和可维护性,同时减少重复代码的编写。在实际项目中,我们可以根据需要对其进行扩展和优化,以满足不同的业务需求。
作者其他创作
大纲/内容
OrderItemVO
+ itemType:String+ itemId:String+quantity:int+orderPrice:BigDecimal+unitPrice:BigDecimal+discount:BigDecimal+subtotal:BigDecimal+orderSKUinfo:OrderSKUInfo+orderBundleInfo:OrderBundleInfo
PromoInstVO
OrderBundleInfo
+bundle:Bundle+orderSKUInfos:List
DeliveryVO
OrderVO
+ orderCode:String+ orderType:String+ orderItems:List +totalWeight:BigDecimal+userId:Long+carrierCode:String+paymentVO:PaymentVO+originalPrice:BigDecimal+discount:BigDecimal+cashPay:BigDecimal+invoiceType:String+delivery:DeliveryVO+promotionGifts:List +promoInstVOList: List+couponCode:String+couponList:List+pointConsumed:Long+petalNum:Integer
+ calculateCashPay():void+calcTotalWeight():void+getAllOrderSKUInfos():List+getItemForProductPromotion:List+getItemForOrderPromotion:List
OrderSkuInfo
+ mainSkuCode:String+ sbomInfo:SbomBaseInfo+orderGiftInfos:List+refundAmount:BigDecimal +amountsWrittenOff\"BigDecimal+pointConsumed:long+pointGift:long
Bundle
SbomBaseInfo
PromoCoupon
1:n
0 条评论
下一页