Browse Source

fix:bug

token_replace
黄梓健 4 years ago
parent
commit
df45d21e38
  1. 4
      models/customer_order.go

4
models/customer_order.go

@ -99,8 +99,8 @@ func (t *CustomerOrder) CountCustomerOrder(activityId, rehearsalId, archId inter
if _type == 1 {
s.Distinct("buyer_id")
}
s.Count(t)
return buyerCount, err
count, err := s.Count(t)
return count, err
}
func (t *CustomerOrder) SumCustomerOrder(activityId, rehearsalId, archId interface{}, limit int) ([]map[string]string, error) {

Loading…
Cancel
Save