abiao лет назад: 2
Родитель
Сommit
e55463ede7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      go/gopath/src/fohow.com/apps/models/order_model/order.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/order_model/order.go

@@ -932,7 +932,7 @@ func GetNotInvovedAmount(promotionId int64, orderId string) int64 {
     	AND IF(od.nums IS NULL, 0, od.nums) > 0;
 		`
 
-	var results []PromotionPds
+	var results []*PromotionPds
 	db := orm.NewOrm()
 	_, err := db.Raw(sql, promotionId, orderId).QueryRows(&results)
 	if err != nil {