Commit 8a11ca8126a6d42595a02de3ab0873c612255931

Authored by YunaiV
1 parent 01e6140d

code review:拼团记录流程

yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/combination/CombinationRecordServiceImpl.java
... ... @@ -173,6 +173,7 @@ public class CombinationRecordServiceImpl implements CombinationRecordService {
173 173 ProductSpuRespDTO spu = productSpuApi.getSpu(reqDTO.getSpuId());
174 174 ProductSkuRespDTO sku = productSkuApi.getSku(reqDTO.getSkuId());
175 175 CombinationRecordDO record = CombinationActivityConvert.INSTANCE.convert(reqDTO, keyValue.getKey(), user, spu, sku);
  176 + // TODO @puhui:有 head 的情况下,以 head 结束为准
176 177 recordMapper.insert(record);
177 178  
178 179 // 3. 如果是团长需要设置 headId 为 CombinationRecordDO#HEAD_ID_GROUP
... ...