...
|
...
|
@@ -75,7 +75,7 @@ func QuartersBonusStatics(orders []*domain.Order, action int) (bonus []protocol. |
|
|
bonus[quarter].Outstanding += o.OrderBonusWait()
|
|
|
}
|
|
|
if action == protocol.BonusOutstanding {
|
|
|
bonus[quarter].Outstanding += o.OrderBonusOutstanding()
|
|
|
bonus[quarter].Expend += o.OrderBonusOutstanding()
|
|
|
}
|
|
|
}
|
|
|
return
|
...
|
...
|
@@ -100,6 +100,7 @@ func DividendOrders(header *protocol.RequestHeader, request *protocol.DividendOr |
|
|
rsp = &protocol.DividendOrdersResponse{List: make([]*protocol.DividendOrderListItem, 0)}
|
|
|
|
|
|
count, orders, err = OrderDao.DividendOrders(&domain.DividendOrdersQueryOption{
|
|
|
PartnerId: header.UserId,
|
|
|
DetailAction: request.DetailAction,
|
|
|
DividendAction: request.DividendAction,
|
|
|
StartTime: request.StartTime,
|
...
|
...
|
|