清算
2021-12-17 09:40:10 0 举报
ooad
作者其他创作
大纲/内容
CustomerService
Liquidation
- id- shopId- liquidDate- expressFee- commission- shopRevenue- point- state
ShopService
AfterSaleService
LiquidationService
+ LiquidationDao+ ShareService+ GeneralledgersService+ OrderService+ AfterSaleService+ ShopService
+ CreateLiquidation(List<Generalledger>): Liquidation+ GetInfomation(Long OrderItemId)+ CalculateShopRevenue(Long shopId)+ CalculateShopPoints(Long shopId)- GetCommissionRate(Long productId)- GetFreightByOrderItem(Long orderitemId)- GetSuccessfulShareByOrderItem(Long orderitemId)
GeneralledgersService(抽象账单)
- CustomerService- ShareService
+ GetPoints(Long shareId)+ SetCustomerPoints(Long Points)+ SignalShareToSetState()
Generalledger(抽象账单)
- id- liquidId- docketId- shopId- LedgerId(分别对应订单和进账单id)- amount- expressFee- commission- point- sharerId- shopRevenue
LiquidationDao
+ AddLiquidations(LiquidationPo liquidation)+ GetLiquidationsById(Long liquidationId)+ GetLiquidationsByShopId(Long shopId)+ GetLiquidationsByOrderId(Long orderId)+ GetLiquidationsByProductId(Long productId)
ShareService
revenue_item(入账)//支付
+ CreateRevenueItem()
revenue_item(出账)//退款
+ operation1(params):returnType- operation2(params)- operation3()
GeneralledgerDao
+ AddGenerealledger(GeneralledgerPo generalledger)+ GetGenerealledgerById(Long generalledgerId)+ GetGenerealledgersByShopId(Long shopId)+ GetGenerealledgersByLiquidId(Long liquidId)
OrderService
0 条评论
下一页