Explorar o código

edit base details function

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
cd0def686e

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

@@ -90,7 +90,7 @@ func GetOrderDetailPackages(orderDtId, nums int64, useCache bool) (list []*Produ
 		fmt.Sprintf(`
 		select product_id as item_id,product_name as item_title,ceil(nums/%d) as nums from
 		base_details
-		where order_dt_id = ?  ;
+		where dt_id = ?  ;
 		`, nums)
 	_, err := orm.NewOrm().Raw(sql, orderDtId).QueryRows(&list)
 	if err != nil {