feat: price2

master
howell 4 years ago
parent 5e23381ec1
commit 5b7014b611

@ -176,6 +176,7 @@ func QueryGoodsListByDiscountPrice(c *gin.Context) {
"SUM(sales_volume) AS sales_volume, "+
"MIN(original_price) AS original_price, "+
"MIN(discount_price) AS discount_price, "+
"MIN(purchase_price) AS purchase_price, "+
"MIN(commission) AS commission, "+
"goods_id").Order(order).Group("goods_id").
Find(&skuList, "goods_id IN (?)", goodsIdList)

Loading…
Cancel
Save