小程序 商品 问题

This commit is contained in:
2026-04-10 14:39:35 +08:00
parent b65080926c
commit 060d493ebc
2 changed files with 5 additions and 0 deletions

View File

@@ -59,6 +59,10 @@ public class ShopProductVo implements Serializable {
* 是否售罄 1-是 0-否
*/
private Integer isSoldStock;
/**
* 是否自动售罄 1-是 0-否
*/
private Integer isAutoSoldStock;
/**
* 商品类型 single-单规格商品 sku-多规格商品 package-套餐商品 weight-称重商品 coupon-团购券
*/

View File

@@ -92,6 +92,7 @@
t1.pack_fee,
ifnull(t4.sales_volume, 0) as sales_volume,
t1.shop_id,
t1.is_auto_sold_stock,
t1.related_recommend
from tb_product t1
left join (select x.product_id,