diff --git a/app/svc/platform/svc_withdrawal.go b/app/svc/platform/svc_withdrawal.go index 250cfe5..8c406a9 100644 --- a/app/svc/platform/svc_withdrawal.go +++ b/app/svc/platform/svc_withdrawal.go @@ -418,6 +418,21 @@ func masterMonthAmount(mid string) map[string]string { lastMonthSum := playletSaleOrder.PlayletVideoOrderSum(mid, "", "last_month") monthSum := playletSaleOrder.PlayletVideoOrderSum(mid, "", "current_month") monthSettleSum := playletSaleOrder.PlayletVideoOrderSum(mid, "订单结算", "current_month") + lastMonthTimeRange := utils.GetTimeRange("last_month") + currentMonthTimeRange := utils.GetTimeRange("current_month") + + hwSum, _ := db.ZhimengDb.NotIn("status", []string{"订单退款"}).Where("uid=? and create_time>=? and create_time=? and create_time=? and create_time=? and create_time=? and create_time=? and create_time