|
@@ -165,9 +165,11 @@ public class GroupRelationClearServiceImpl implements GroupRelationClearService
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//codex
|
|
//codex
|
|
|
- if (groupsRelation.getGoodsId() != null && groupsRelation.getGoodsId() == Constant.CODEX_GOODS_ID && source != UserTicketClearedRecord.Source.cc_deduct) {
|
|
|
|
|
- //清除套餐
|
|
|
|
|
- codexService.delUserPackages(groupsRelation.getUserId());
|
|
|
|
|
|
|
+ if (groupsRelation.getGoodsId() != null && groupsRelation.getGoodsId() == Constant.CODEX_GOODS_ID) {
|
|
|
|
|
+ if (source != UserTicketClearedRecord.Source.codex_deduct) {
|
|
|
|
|
+ //清除套餐
|
|
|
|
|
+ codexService.delUserPackages(groupsRelation.getUserId());
|
|
|
|
|
+ }
|
|
|
//清除codex
|
|
//清除codex
|
|
|
TASK_POOL.execute(() -> codexUserMapper.delete(Wrappers.lambdaQuery(CodexUser.class).eq(CodexUser::getRelationId, relationId)));
|
|
TASK_POOL.execute(() -> codexUserMapper.delete(Wrappers.lambdaQuery(CodexUser.class).eq(CodexUser::getRelationId, relationId)));
|
|
|
}
|
|
}
|