|
|
|
@ -227,8 +227,8 @@ func GetGoodsRespByInfoList(goodsList []goods.Information, userID uint, isSale b
|
|
|
|
|
"SUM(inventory) AS inventory, "+
|
|
|
|
|
"SUM(sales_volume) AS sales_volume, "+
|
|
|
|
|
"SUM(sales_volume_inc) AS sales_volume_inc, "+
|
|
|
|
|
"SUM(sale_volume1) AS sale_volume1, "+
|
|
|
|
|
"SUM(sale_volume_inc1) AS sale_volume_inc1, "+
|
|
|
|
|
"SUM(sale_volume2) AS sale_volume2, "+
|
|
|
|
|
"SUM(sale_volume_inc2) AS sale_volume_inc2, "+
|
|
|
|
|
"MIN(purchase_price) AS purchase_price,"+
|
|
|
|
|
"MIN(original_price) AS original_price, "+
|
|
|
|
|
"MIN(discount_price) AS discount_price, "+
|
|
|
|
|