code review:拼团记录流程

This commit is contained in:
YunaiV 2023-10-08 09:59:53 +08:00
parent 01e6140d67
commit 8a11ca8126

View File

@ -173,6 +173,7 @@ public class CombinationRecordServiceImpl implements CombinationRecordService {
ProductSpuRespDTO spu = productSpuApi.getSpu(reqDTO.getSpuId());
ProductSkuRespDTO sku = productSkuApi.getSku(reqDTO.getSkuId());
CombinationRecordDO record = CombinationActivityConvert.INSTANCE.convert(reqDTO, keyValue.getKey(), user, spu, sku);
// TODO @puhui head 的情况下 head 结束为准
recordMapper.insert(record);
// 3. 如果是团长需要设置 headId CombinationRecordDO#HEAD_ID_GROUP