|
|
@@ -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 {
|