Commit e89e3c946d86118566fd494b320c759bac6f489e
1 parent
30a24601
【缺陷修复】商城:虚拟成团后所有成员添加虚拟成团标记
Showing
1 changed file
with
1 additions
and
1 deletions
yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/service/combination/CombinationRecordServiceImpl.java
| ... | ... | @@ -375,7 +375,7 @@ public class CombinationRecordServiceImpl implements CombinationRecordService { |
| 375 | 375 | CombinationRecordDO updateRecord = new CombinationRecordDO().setId(item.getId()) |
| 376 | 376 | .setStatus(status.getStatus()).setEndTime(now); |
| 377 | 377 | if (CombinationRecordStatusEnum.isSuccess(status.getStatus())) { // 虚拟成团完事更改状态成功后还需要把参与人数修改为成团需要人数 |
| 378 | - updateRecord.setUserCount(records.size()); | |
| 378 | + updateRecord.setUserCount(records.size()).setVirtualGroup(Boolean.TRUE); // 标记为虚拟成团 | |
| 379 | 379 | } |
| 380 | 380 | updateRecords.add(updateRecord); |
| 381 | 381 | }); | ... | ... |