过滤 已参团的

This commit is contained in:
2025-12-17 11:49:07 +08:00
parent 8a7d63911e
commit ec51a38f51
6 changed files with 40 additions and 10 deletions

View File

@@ -79,7 +79,7 @@ public class GbWare implements Serializable {
private BigDecimal groupPrice;
/**
* 拼团库存
* 拼团累计数
*/
private Integer groupedNum;

View File

@@ -25,4 +25,7 @@ public interface GbWareService extends IService<GbWare> {
//删除 下架状态可删除
boolean deleteGbWare(Long id);
// 累计拼团数+1
void upGbWareGroupedNum(Long id);
}

View File

@@ -29,7 +29,7 @@ public interface GbOrderService extends IService<GbOrder> {
GbOrderDetailVO getGoodsRecordDetail(Long shopId, Long detailId);
//商品详情
GbWareVO getWareDetail(Long shopId, Long wareId);
GbWareVO getWareDetail(Long shopId, Long wareId, Long userId);
//成团/参团 支付
CzgResult<Map<String, Object>> groupJoin(GroupJoinDTO param);