Просмотр исходного кода

update sold count static function

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

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

@@ -86,7 +86,7 @@ func GetOrderDetailPackages(orderDtId, nums int64, useCache bool) (list []*Produ
 
 	sql :=
 		fmt.Sprintf(`
-		select product_id as item_id,title as item_title,nums/%d from
+		select product_id as item_id,title as item_title,nums/%d as nums from
 		order_base_details
 		where order_dt_id = ?  ;
 		`, nums)