...
|
...
|
@@ -157,7 +157,8 @@ func Statistics(header *protocol.RequestHeader, request *protocol.OrderStatistic |
|
|
|
|
|
// 累计实发订单
|
|
|
if rsp.Statistics.CumulativeQuantity, rsp.Statistics.CumulativeMoney, err = OrderDao.OrderStatics(&domain.OrderStaticQuery{
|
|
|
EndTime: time.Now().Unix() * 1000,
|
|
|
//EndTime: time.Now().Unix() * 1000,
|
|
|
EndTime: utils.GetDayEnd().Unix() * 1000, // 累计到今天最后一刻
|
|
|
OrderTypes: domain.UserOrderTypes(domain.Career),
|
|
|
PartnerId: header.UserId,
|
|
|
}); err != nil {
|
...
|
...
|
|